package hu.bme.mit.androtext.gui.parser.antlr.internal; 

import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import hu.bme.mit.androtext.gui.services.AndroGuiGrammarAccess;



import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings("all")
public class InternalAndroGuiParser extends AbstractInternalAntlrParser {
    public static final String[] tokenNames = new String[] {
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'modelID'", "'absolutelayout'", "'{'", "'}'", "'linearlayout'", "'horizontal'", "'vertical'", "'framelayout'", "'relativelayout'", "'textview'", "'edittext'", "'button'", "'listview'", "'entries'", "'listitem'", "'spinner'", "'checkbox'", "'radiogroup'", "'ratingbar'", "'togglebutton'", "'textOn'", "'textOff'", "'radiobutton'", "'key'", "'summary'", "'enabled'", "'persistent'", "'dialogTitle'", "'defaultValue'", "'entryValues'", "'preference'", "'preferencescreen'", "'preferencecategery'", "'edittextpreference'", "'listpreference'", "'checkboxpreference'", "'ringtonepreference'", "'stringarray'", "'name'", "'value'", "'true'", "'false'", "'fill'", "'wrap'", "'fill&wrap'", "'wrap&fill'"
    };
    public static final int RULE_ID=4;
    public static final int T__29=29;
    public static final int T__28=28;
    public static final int T__27=27;
    public static final int T__26=26;
    public static final int T__25=25;
    public static final int T__24=24;
    public static final int T__23=23;
    public static final int T__22=22;
    public static final int RULE_ANY_OTHER=10;
    public static final int T__21=21;
    public static final int T__20=20;
    public static final int EOF=-1;
    public static final int T__55=55;
    public static final int T__56=56;
    public static final int T__19=19;
    public static final int T__51=51;
    public static final int T__16=16;
    public static final int T__52=52;
    public static final int T__15=15;
    public static final int T__53=53;
    public static final int T__18=18;
    public static final int T__54=54;
    public static final int T__17=17;
    public static final int T__12=12;
    public static final int T__11=11;
    public static final int T__14=14;
    public static final int T__13=13;
    public static final int RULE_INT=6;
    public static final int T__50=50;
    public static final int T__42=42;
    public static final int T__43=43;
    public static final int T__40=40;
    public static final int T__41=41;
    public static final int T__46=46;
    public static final int T__47=47;
    public static final int T__44=44;
    public static final int T__45=45;
    public static final int T__48=48;
    public static final int T__49=49;
    public static final int RULE_SL_COMMENT=8;
    public static final int RULE_ML_COMMENT=7;
    public static final int T__30=30;
    public static final int T__31=31;
    public static final int RULE_STRING=5;
    public static final int T__32=32;
    public static final int T__33=33;
    public static final int T__34=34;
    public static final int T__35=35;
    public static final int T__36=36;
    public static final int T__37=37;
    public static final int T__38=38;
    public static final int T__39=39;
    public static final int RULE_WS=9;

    // delegates
    // delegators


        public InternalAndroGuiParser(TokenStream input) {
            this(input, new RecognizerSharedState());
        }
        public InternalAndroGuiParser(TokenStream input, RecognizerSharedState state) {
            super(input, state);
             
        }
        

    public String[] getTokenNames() { return InternalAndroGuiParser.tokenNames; }
    public String getGrammarFileName() { return "../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g"; }



     	private AndroGuiGrammarAccess grammarAccess;
     	
        public InternalAndroGuiParser(TokenStream input, AndroGuiGrammarAccess grammarAccess) {
            this(input);
            this.grammarAccess = grammarAccess;
            registerRules(grammarAccess.getGrammar());
        }
        
        @Override
        protected String getFirstRuleName() {
        	return "AndroGuiRoot";	
       	}
       	
       	@Override
       	protected AndroGuiGrammarAccess getGrammarAccess() {
       		return grammarAccess;
       	}



    // $ANTLR start "entryRuleAndroGuiRoot"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:68:1: entryRuleAndroGuiRoot returns [EObject current=null] : iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF ;
    public final EObject entryRuleAndroGuiRoot() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAndroGuiRoot = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:69:2: (iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:70:2: iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF
            {
             newCompositeNode(grammarAccess.getAndroGuiRootRule()); 
            pushFollow(FOLLOW_ruleAndroGuiRoot_in_entryRuleAndroGuiRoot75);
            iv_ruleAndroGuiRoot=ruleAndroGuiRoot();

            state._fsp--;

             current =iv_ruleAndroGuiRoot; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAndroGuiRoot85); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleAndroGuiRoot"


    // $ANTLR start "ruleAndroGuiRoot"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:77:1: ruleAndroGuiRoot returns [EObject current=null] : (otherlv_0= 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* ) ;
    public final EObject ruleAndroGuiRoot() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        EObject lv_rootlayout_2_0 = null;

        EObject lv_entries_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:80:28: ( (otherlv_0= 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:81:1: (otherlv_0= 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:81:1: (otherlv_0= 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:81:3: otherlv_0= 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )*
            {
            otherlv_0=(Token)match(input,11,FOLLOW_11_in_ruleAndroGuiRoot122); 

                	newLeafNode(otherlv_0, grammarAccess.getAndroGuiRootAccess().getModelIDKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:85:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:86:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:86:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:87:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAndroGuiRoot139); 

            			newLeafNode(lv_name_1_0, grammarAccess.getAndroGuiRootAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getAndroGuiRootRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:103:2: ( (lv_rootlayout_2_0= ruleRootLayout ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:104:1: (lv_rootlayout_2_0= ruleRootLayout )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:104:1: (lv_rootlayout_2_0= ruleRootLayout )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:105:3: lv_rootlayout_2_0= ruleRootLayout
            {
             
            	        newCompositeNode(grammarAccess.getAndroGuiRootAccess().getRootlayoutRootLayoutParserRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleRootLayout_in_ruleAndroGuiRoot165);
            lv_rootlayout_2_0=ruleRootLayout();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getAndroGuiRootRule());
            	        }
                   		set(
                   			current, 
                   			"rootlayout",
                    		lv_rootlayout_2_0, 
                    		"RootLayout");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:121:2: ( (lv_entries_3_0= ruleStringEntry ) )*
            loop1:
            do {
                int alt1=2;
                int LA1_0 = input.LA(1);

                if ( (LA1_0==48) ) {
                    alt1=1;
                }


                switch (alt1) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:122:1: (lv_entries_3_0= ruleStringEntry )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:122:1: (lv_entries_3_0= ruleStringEntry )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:123:3: lv_entries_3_0= ruleStringEntry
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getAndroGuiRootAccess().getEntriesStringEntryParserRuleCall_3_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleStringEntry_in_ruleAndroGuiRoot186);
            	    lv_entries_3_0=ruleStringEntry();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getAndroGuiRootRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"entries",
            	            		lv_entries_3_0, 
            	            		"StringEntry");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop1;
                }
            } while (true);


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleAndroGuiRoot"


    // $ANTLR start "entryRuleRootLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:147:1: entryRuleRootLayout returns [EObject current=null] : iv_ruleRootLayout= ruleRootLayout EOF ;
    public final EObject entryRuleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRootLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:148:2: (iv_ruleRootLayout= ruleRootLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:149:2: iv_ruleRootLayout= ruleRootLayout EOF
            {
             newCompositeNode(grammarAccess.getRootLayoutRule()); 
            pushFollow(FOLLOW_ruleRootLayout_in_entryRuleRootLayout223);
            iv_ruleRootLayout=ruleRootLayout();

            state._fsp--;

             current =iv_ruleRootLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRootLayout233); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRootLayout"


    // $ANTLR start "ruleRootLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:156:1: ruleRootLayout returns [EObject current=null] : this_Layout_0= ruleLayout ;
    public final EObject ruleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject this_Layout_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:159:28: (this_Layout_0= ruleLayout )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:161:5: this_Layout_0= ruleLayout
            {
             
                    newCompositeNode(grammarAccess.getRootLayoutAccess().getLayoutParserRuleCall()); 
                
            pushFollow(FOLLOW_ruleLayout_in_ruleRootLayout279);
            this_Layout_0=ruleLayout();

            state._fsp--;

             
                    current = this_Layout_0; 
                    afterParserOrEnumRuleCall();
                

            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRootLayout"


    // $ANTLR start "entryRuleUIElement"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:177:1: entryRuleUIElement returns [EObject current=null] : iv_ruleUIElement= ruleUIElement EOF ;
    public final EObject entryRuleUIElement() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleUIElement = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:178:2: (iv_ruleUIElement= ruleUIElement EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:179:2: iv_ruleUIElement= ruleUIElement EOF
            {
             newCompositeNode(grammarAccess.getUIElementRule()); 
            pushFollow(FOLLOW_ruleUIElement_in_entryRuleUIElement313);
            iv_ruleUIElement=ruleUIElement();

            state._fsp--;

             current =iv_ruleUIElement; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleUIElement323); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleUIElement"


    // $ANTLR start "ruleUIElement"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:186:1: ruleUIElement returns [EObject current=null] : (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) ;
    public final EObject ruleUIElement() throws RecognitionException {
        EObject current = null;

        EObject this_Widget_0 = null;

        EObject this_Layout_1 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:189:28: ( (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:190:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:190:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            int alt2=2;
            int LA2_0 = input.LA(1);

            if ( ((LA2_0>=20 && LA2_0<=23)||(LA2_0>=26 && LA2_0<=30)) ) {
                alt2=1;
            }
            else if ( (LA2_0==12||LA2_0==15||(LA2_0>=18 && LA2_0<=19)||LA2_0==42) ) {
                alt2=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 2, 0, input);

                throw nvae;
            }
            switch (alt2) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:191:5: this_Widget_0= ruleWidget
                    {
                     
                            newCompositeNode(grammarAccess.getUIElementAccess().getWidgetParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleWidget_in_ruleUIElement370);
                    this_Widget_0=ruleWidget();

                    state._fsp--;

                     
                            current = this_Widget_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:201:5: this_Layout_1= ruleLayout
                    {
                     
                            newCompositeNode(grammarAccess.getUIElementAccess().getLayoutParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleLayout_in_ruleUIElement397);
                    this_Layout_1=ruleLayout();

                    state._fsp--;

                     
                            current = this_Layout_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleUIElement"


    // $ANTLR start "entryRuleLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:217:1: entryRuleLayout returns [EObject current=null] : iv_ruleLayout= ruleLayout EOF ;
    public final EObject entryRuleLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:218:2: (iv_ruleLayout= ruleLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:219:2: iv_ruleLayout= ruleLayout EOF
            {
             newCompositeNode(grammarAccess.getLayoutRule()); 
            pushFollow(FOLLOW_ruleLayout_in_entryRuleLayout432);
            iv_ruleLayout=ruleLayout();

            state._fsp--;

             current =iv_ruleLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLayout442); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleLayout"


    // $ANTLR start "ruleLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:226:1: ruleLayout returns [EObject current=null] : (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen ) ;
    public final EObject ruleLayout() throws RecognitionException {
        EObject current = null;

        EObject this_AbsoluteLayout_0 = null;

        EObject this_LinearLayout_1 = null;

        EObject this_FrameLayout_2 = null;

        EObject this_RelativeLayout_3 = null;

        EObject this_PreferenceScreen_4 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:229:28: ( (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:230:1: (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:230:1: (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen )
            int alt3=5;
            switch ( input.LA(1) ) {
            case 12:
                {
                alt3=1;
                }
                break;
            case 15:
                {
                alt3=2;
                }
                break;
            case 18:
                {
                alt3=3;
                }
                break;
            case 19:
                {
                alt3=4;
                }
                break;
            case 42:
                {
                alt3=5;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 3, 0, input);

                throw nvae;
            }

            switch (alt3) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:231:5: this_AbsoluteLayout_0= ruleAbsoluteLayout
                    {
                     
                            newCompositeNode(grammarAccess.getLayoutAccess().getAbsoluteLayoutParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleAbsoluteLayout_in_ruleLayout489);
                    this_AbsoluteLayout_0=ruleAbsoluteLayout();

                    state._fsp--;

                     
                            current = this_AbsoluteLayout_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:241:5: this_LinearLayout_1= ruleLinearLayout
                    {
                     
                            newCompositeNode(grammarAccess.getLayoutAccess().getLinearLayoutParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleLinearLayout_in_ruleLayout516);
                    this_LinearLayout_1=ruleLinearLayout();

                    state._fsp--;

                     
                            current = this_LinearLayout_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:251:5: this_FrameLayout_2= ruleFrameLayout
                    {
                     
                            newCompositeNode(grammarAccess.getLayoutAccess().getFrameLayoutParserRuleCall_2()); 
                        
                    pushFollow(FOLLOW_ruleFrameLayout_in_ruleLayout543);
                    this_FrameLayout_2=ruleFrameLayout();

                    state._fsp--;

                     
                            current = this_FrameLayout_2; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:261:5: this_RelativeLayout_3= ruleRelativeLayout
                    {
                     
                            newCompositeNode(grammarAccess.getLayoutAccess().getRelativeLayoutParserRuleCall_3()); 
                        
                    pushFollow(FOLLOW_ruleRelativeLayout_in_ruleLayout570);
                    this_RelativeLayout_3=ruleRelativeLayout();

                    state._fsp--;

                     
                            current = this_RelativeLayout_3; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:271:5: this_PreferenceScreen_4= rulePreferenceScreen
                    {
                     
                            newCompositeNode(grammarAccess.getLayoutAccess().getPreferenceScreenParserRuleCall_4()); 
                        
                    pushFollow(FOLLOW_rulePreferenceScreen_in_ruleLayout597);
                    this_PreferenceScreen_4=rulePreferenceScreen();

                    state._fsp--;

                     
                            current = this_PreferenceScreen_4; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLayout"


    // $ANTLR start "entryRuleAbsoluteLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:287:1: entryRuleAbsoluteLayout returns [EObject current=null] : iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF ;
    public final EObject entryRuleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAbsoluteLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:288:2: (iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:289:2: iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF
            {
             newCompositeNode(grammarAccess.getAbsoluteLayoutRule()); 
            pushFollow(FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout632);
            iv_ruleAbsoluteLayout=ruleAbsoluteLayout();

            state._fsp--;

             current =iv_ruleAbsoluteLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteLayout642); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleAbsoluteLayout"


    // $ANTLR start "ruleAbsoluteLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:296:1: ruleAbsoluteLayout returns [EObject current=null] : (otherlv_0= 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:299:28: ( (otherlv_0= 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:300:1: (otherlv_0= 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:300:1: (otherlv_0= 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:300:3: otherlv_0= 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleAbsoluteLayout679); 

                	newLeafNode(otherlv_0, grammarAccess.getAbsoluteLayoutAccess().getAbsolutelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:304:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt4=2;
            int LA4_0 = input.LA(1);

            if ( (LA4_0==RULE_ID) ) {
                alt4=1;
            }
            switch (alt4) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:305:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:305:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:306:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAbsoluteLayout696); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getAbsoluteLayoutAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getAbsoluteLayoutRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:322:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:323:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:323:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:324:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout723);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getAbsoluteLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleAbsoluteLayout735); 

                	newLeafNode(otherlv_3, grammarAccess.getAbsoluteLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:344:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop5:
            do {
                int alt5=2;
                int LA5_0 = input.LA(1);

                if ( (LA5_0==12||LA5_0==15||(LA5_0>=18 && LA5_0<=23)||(LA5_0>=26 && LA5_0<=30)||LA5_0==42) ) {
                    alt5=1;
                }


                switch (alt5) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:345:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:345:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:346:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleAbsoluteLayout756);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getAbsoluteLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop5;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleAbsoluteLayout769); 

                	newLeafNode(otherlv_5, grammarAccess.getAbsoluteLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleAbsoluteLayout"


    // $ANTLR start "entryRuleLinearLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:374:1: entryRuleLinearLayout returns [EObject current=null] : iv_ruleLinearLayout= ruleLinearLayout EOF ;
    public final EObject entryRuleLinearLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLinearLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:375:2: (iv_ruleLinearLayout= ruleLinearLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:376:2: iv_ruleLinearLayout= ruleLinearLayout EOF
            {
             newCompositeNode(grammarAccess.getLinearLayoutRule()); 
            pushFollow(FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout805);
            iv_ruleLinearLayout=ruleLinearLayout();

            state._fsp--;

             current =iv_ruleLinearLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLinearLayout815); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleLinearLayout"


    // $ANTLR start "ruleLinearLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:383:1: ruleLinearLayout returns [EObject current=null] : (otherlv_0= 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' ) ;
    public final EObject ruleLinearLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_orientation_2_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Token otherlv_7=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_elements_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:386:28: ( (otherlv_0= 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:387:1: (otherlv_0= 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:387:1: (otherlv_0= 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:387:3: otherlv_0= 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleLinearLayout852); 

                	newLeafNode(otherlv_0, grammarAccess.getLinearLayoutAccess().getLinearlayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:391:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt6=2;
            int LA6_0 = input.LA(1);

            if ( (LA6_0==RULE_ID) ) {
                alt6=1;
            }
            switch (alt6) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:392:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:392:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:393:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLinearLayout869); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getLinearLayoutAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getLinearLayoutRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:409:3: ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )?
            int alt7=3;
            int LA7_0 = input.LA(1);

            if ( (LA7_0==16) ) {
                alt7=1;
            }
            else if ( (LA7_0==17) ) {
                alt7=2;
            }
            switch (alt7) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:409:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:409:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:410:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:410:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:411:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)match(input,16,FOLLOW_16_in_ruleLinearLayout894); 

                            newLeafNode(lv_orientation_2_0, grammarAccess.getLinearLayoutAccess().getOrientationHorizontalKeyword_2_0_0());
                        

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getLinearLayoutRule());
                    	        }
                           		setWithLastConsumed(current, "orientation", true, "horizontal");
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:425:7: otherlv_3= 'vertical'
                    {
                    otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleLinearLayout925); 

                        	newLeafNode(otherlv_3, grammarAccess.getLinearLayoutAccess().getVerticalKeyword_2_1());
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:429:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:430:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:430:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:431:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getLinearLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleLinearLayout948);
            lv_layoutStyle_4_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getLinearLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_4_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleLinearLayout960); 

                	newLeafNode(otherlv_5, grammarAccess.getLinearLayoutAccess().getLeftCurlyBracketKeyword_4());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:451:1: ( (lv_elements_6_0= ruleUIElement ) )*
            loop8:
            do {
                int alt8=2;
                int LA8_0 = input.LA(1);

                if ( (LA8_0==12||LA8_0==15||(LA8_0>=18 && LA8_0<=23)||(LA8_0>=26 && LA8_0<=30)||LA8_0==42) ) {
                    alt8=1;
                }


                switch (alt8) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:452:1: (lv_elements_6_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:452:1: (lv_elements_6_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:453:3: lv_elements_6_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getLinearLayoutAccess().getElementsUIElementParserRuleCall_5_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleLinearLayout981);
            	    lv_elements_6_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getLinearLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_6_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop8;
                }
            } while (true);

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleLinearLayout994); 

                	newLeafNode(otherlv_7, grammarAccess.getLinearLayoutAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLinearLayout"


    // $ANTLR start "entryRuleFrameLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:481:1: entryRuleFrameLayout returns [EObject current=null] : iv_ruleFrameLayout= ruleFrameLayout EOF ;
    public final EObject entryRuleFrameLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleFrameLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:482:2: (iv_ruleFrameLayout= ruleFrameLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:483:2: iv_ruleFrameLayout= ruleFrameLayout EOF
            {
             newCompositeNode(grammarAccess.getFrameLayoutRule()); 
            pushFollow(FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1030);
            iv_ruleFrameLayout=ruleFrameLayout();

            state._fsp--;

             current =iv_ruleFrameLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleFrameLayout1040); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleFrameLayout"


    // $ANTLR start "ruleFrameLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:490:1: ruleFrameLayout returns [EObject current=null] : (otherlv_0= 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleFrameLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:493:28: ( (otherlv_0= 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:494:1: (otherlv_0= 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:494:1: (otherlv_0= 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:494:3: otherlv_0= 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleFrameLayout1077); 

                	newLeafNode(otherlv_0, grammarAccess.getFrameLayoutAccess().getFramelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:498:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt9=2;
            int LA9_0 = input.LA(1);

            if ( (LA9_0==RULE_ID) ) {
                alt9=1;
            }
            switch (alt9) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:499:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:499:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:500:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFrameLayout1094); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getFrameLayoutAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getFrameLayoutRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:516:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:517:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:517:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:518:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getFrameLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1121);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getFrameLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleFrameLayout1133); 

                	newLeafNode(otherlv_3, grammarAccess.getFrameLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:538:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop10:
            do {
                int alt10=2;
                int LA10_0 = input.LA(1);

                if ( (LA10_0==12||LA10_0==15||(LA10_0>=18 && LA10_0<=23)||(LA10_0>=26 && LA10_0<=30)||LA10_0==42) ) {
                    alt10=1;
                }


                switch (alt10) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:539:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:539:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:540:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getFrameLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleFrameLayout1154);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getFrameLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop10;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleFrameLayout1167); 

                	newLeafNode(otherlv_5, grammarAccess.getFrameLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleFrameLayout"


    // $ANTLR start "entryRuleRelativeLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:568:1: entryRuleRelativeLayout returns [EObject current=null] : iv_ruleRelativeLayout= ruleRelativeLayout EOF ;
    public final EObject entryRuleRelativeLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRelativeLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:569:2: (iv_ruleRelativeLayout= ruleRelativeLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:570:2: iv_ruleRelativeLayout= ruleRelativeLayout EOF
            {
             newCompositeNode(grammarAccess.getRelativeLayoutRule()); 
            pushFollow(FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1203);
            iv_ruleRelativeLayout=ruleRelativeLayout();

            state._fsp--;

             current =iv_ruleRelativeLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeLayout1213); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRelativeLayout"


    // $ANTLR start "ruleRelativeLayout"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:577:1: ruleRelativeLayout returns [EObject current=null] : (otherlv_0= 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleRelativeLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:580:28: ( (otherlv_0= 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:581:1: (otherlv_0= 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:581:1: (otherlv_0= 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:581:3: otherlv_0= 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleRelativeLayout1250); 

                	newLeafNode(otherlv_0, grammarAccess.getRelativeLayoutAccess().getRelativelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:585:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt11=2;
            int LA11_0 = input.LA(1);

            if ( (LA11_0==RULE_ID) ) {
                alt11=1;
            }
            switch (alt11) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:586:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:586:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:587:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRelativeLayout1267); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getRelativeLayoutAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRelativeLayoutRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:603:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:604:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:604:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:605:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRelativeLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1294);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRelativeLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleRelativeLayout1306); 

                	newLeafNode(otherlv_3, grammarAccess.getRelativeLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:625:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop12:
            do {
                int alt12=2;
                int LA12_0 = input.LA(1);

                if ( (LA12_0==12||LA12_0==15||(LA12_0>=18 && LA12_0<=23)||(LA12_0>=26 && LA12_0<=30)||LA12_0==42) ) {
                    alt12=1;
                }


                switch (alt12) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:626:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:626:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:627:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getRelativeLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleRelativeLayout1327);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getRelativeLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop12;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleRelativeLayout1340); 

                	newLeafNode(otherlv_5, grammarAccess.getRelativeLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRelativeLayout"


    // $ANTLR start "entryRuleWidget"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:655:1: entryRuleWidget returns [EObject current=null] : iv_ruleWidget= ruleWidget EOF ;
    public final EObject entryRuleWidget() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleWidget = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:656:2: (iv_ruleWidget= ruleWidget EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:657:2: iv_ruleWidget= ruleWidget EOF
            {
             newCompositeNode(grammarAccess.getWidgetRule()); 
            pushFollow(FOLLOW_ruleWidget_in_entryRuleWidget1376);
            iv_ruleWidget=ruleWidget();

            state._fsp--;

             current =iv_ruleWidget; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleWidget1386); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleWidget"


    // $ANTLR start "ruleWidget"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:664:1: ruleWidget returns [EObject current=null] : (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) ;
    public final EObject ruleWidget() throws RecognitionException {
        EObject current = null;

        EObject this_TextView_0 = null;

        EObject this_EditText_1 = null;

        EObject this_Button_2 = null;

        EObject this_ListView_3 = null;

        EObject this_Spinner_4 = null;

        EObject this_RadioGroup_5 = null;

        EObject this_CheckBox_6 = null;

        EObject this_RatingBar_7 = null;

        EObject this_ToggleButton_8 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:667:28: ( (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:668:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:668:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            int alt13=9;
            switch ( input.LA(1) ) {
            case 20:
                {
                alt13=1;
                }
                break;
            case 21:
                {
                alt13=2;
                }
                break;
            case 22:
                {
                alt13=3;
                }
                break;
            case 23:
                {
                alt13=4;
                }
                break;
            case 26:
                {
                alt13=5;
                }
                break;
            case 28:
                {
                alt13=6;
                }
                break;
            case 27:
                {
                alt13=7;
                }
                break;
            case 29:
                {
                alt13=8;
                }
                break;
            case 30:
                {
                alt13=9;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 13, 0, input);

                throw nvae;
            }

            switch (alt13) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:669:5: this_TextView_0= ruleTextView
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getTextViewParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleTextView_in_ruleWidget1433);
                    this_TextView_0=ruleTextView();

                    state._fsp--;

                     
                            current = this_TextView_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:679:5: this_EditText_1= ruleEditText
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getEditTextParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleEditText_in_ruleWidget1460);
                    this_EditText_1=ruleEditText();

                    state._fsp--;

                     
                            current = this_EditText_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:689:5: this_Button_2= ruleButton
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getButtonParserRuleCall_2()); 
                        
                    pushFollow(FOLLOW_ruleButton_in_ruleWidget1487);
                    this_Button_2=ruleButton();

                    state._fsp--;

                     
                            current = this_Button_2; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:699:5: this_ListView_3= ruleListView
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getListViewParserRuleCall_3()); 
                        
                    pushFollow(FOLLOW_ruleListView_in_ruleWidget1514);
                    this_ListView_3=ruleListView();

                    state._fsp--;

                     
                            current = this_ListView_3; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:709:5: this_Spinner_4= ruleSpinner
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getSpinnerParserRuleCall_4()); 
                        
                    pushFollow(FOLLOW_ruleSpinner_in_ruleWidget1541);
                    this_Spinner_4=ruleSpinner();

                    state._fsp--;

                     
                            current = this_Spinner_4; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 6 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:719:5: this_RadioGroup_5= ruleRadioGroup
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getRadioGroupParserRuleCall_5()); 
                        
                    pushFollow(FOLLOW_ruleRadioGroup_in_ruleWidget1568);
                    this_RadioGroup_5=ruleRadioGroup();

                    state._fsp--;

                     
                            current = this_RadioGroup_5; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 7 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:729:5: this_CheckBox_6= ruleCheckBox
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getCheckBoxParserRuleCall_6()); 
                        
                    pushFollow(FOLLOW_ruleCheckBox_in_ruleWidget1595);
                    this_CheckBox_6=ruleCheckBox();

                    state._fsp--;

                     
                            current = this_CheckBox_6; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 8 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:739:5: this_RatingBar_7= ruleRatingBar
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getRatingBarParserRuleCall_7()); 
                        
                    pushFollow(FOLLOW_ruleRatingBar_in_ruleWidget1622);
                    this_RatingBar_7=ruleRatingBar();

                    state._fsp--;

                     
                            current = this_RatingBar_7; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 9 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:749:5: this_ToggleButton_8= ruleToggleButton
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getToggleButtonParserRuleCall_8()); 
                        
                    pushFollow(FOLLOW_ruleToggleButton_in_ruleWidget1649);
                    this_ToggleButton_8=ruleToggleButton();

                    state._fsp--;

                     
                            current = this_ToggleButton_8; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleWidget"


    // $ANTLR start "entryRuleTextView"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:765:1: entryRuleTextView returns [EObject current=null] : iv_ruleTextView= ruleTextView EOF ;
    public final EObject entryRuleTextView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleTextView = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:766:2: (iv_ruleTextView= ruleTextView EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:767:2: iv_ruleTextView= ruleTextView EOF
            {
             newCompositeNode(grammarAccess.getTextViewRule()); 
            pushFollow(FOLLOW_ruleTextView_in_entryRuleTextView1684);
            iv_ruleTextView=ruleTextView();

            state._fsp--;

             current =iv_ruleTextView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleTextView1694); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleTextView"


    // $ANTLR start "ruleTextView"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:774:1: ruleTextView returns [EObject current=null] : (otherlv_0= 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleTextView() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:777:28: ( (otherlv_0= 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:778:1: (otherlv_0= 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:778:1: (otherlv_0= 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:778:3: otherlv_0= 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,20,FOLLOW_20_in_ruleTextView1731); 

                	newLeafNode(otherlv_0, grammarAccess.getTextViewAccess().getTextviewKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:782:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt14=2;
            int LA14_0 = input.LA(1);

            if ( (LA14_0==RULE_ID) ) {
                alt14=1;
            }
            switch (alt14) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:783:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:783:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:784:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTextView1748); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getTextViewAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getTextViewRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:800:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:801:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:801:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:802:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTextView1771); 

            			newLeafNode(lv_text_2_0, grammarAccess.getTextViewAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getTextViewRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:818:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:819:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:819:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:820:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getTextViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleTextView1797);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getTextViewRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleTextView"


    // $ANTLR start "entryRuleEditText"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:844:1: entryRuleEditText returns [EObject current=null] : iv_ruleEditText= ruleEditText EOF ;
    public final EObject entryRuleEditText() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEditText = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:845:2: (iv_ruleEditText= ruleEditText EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:846:2: iv_ruleEditText= ruleEditText EOF
            {
             newCompositeNode(grammarAccess.getEditTextRule()); 
            pushFollow(FOLLOW_ruleEditText_in_entryRuleEditText1833);
            iv_ruleEditText=ruleEditText();

            state._fsp--;

             current =iv_ruleEditText; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEditText1843); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleEditText"


    // $ANTLR start "ruleEditText"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:853:1: ruleEditText returns [EObject current=null] : (otherlv_0= 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleEditText() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:856:28: ( (otherlv_0= 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:857:1: (otherlv_0= 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:857:1: (otherlv_0= 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:857:3: otherlv_0= 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleEditText1880); 

                	newLeafNode(otherlv_0, grammarAccess.getEditTextAccess().getEdittextKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:861:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt15=2;
            int LA15_0 = input.LA(1);

            if ( (LA15_0==RULE_ID) ) {
                alt15=1;
            }
            switch (alt15) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:862:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:862:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:863:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEditText1897); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getEditTextAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getEditTextRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:879:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:880:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:880:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:881:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEditText1920); 

            			newLeafNode(lv_text_2_0, grammarAccess.getEditTextAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getEditTextRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:897:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:898:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:898:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:899:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getEditTextAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleEditText1946);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getEditTextRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleEditText"


    // $ANTLR start "entryRuleButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:923:1: entryRuleButton returns [EObject current=null] : iv_ruleButton= ruleButton EOF ;
    public final EObject entryRuleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:924:2: (iv_ruleButton= ruleButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:925:2: iv_ruleButton= ruleButton EOF
            {
             newCompositeNode(grammarAccess.getButtonRule()); 
            pushFollow(FOLLOW_ruleButton_in_entryRuleButton1982);
            iv_ruleButton=ruleButton();

            state._fsp--;

             current =iv_ruleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleButton1992); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleButton"


    // $ANTLR start "ruleButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:932:1: ruleButton returns [EObject current=null] : (otherlv_0= 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:935:28: ( (otherlv_0= 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:936:1: (otherlv_0= 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:936:1: (otherlv_0= 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:936:3: otherlv_0= 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleButton2029); 

                	newLeafNode(otherlv_0, grammarAccess.getButtonAccess().getButtonKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:940:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt16=2;
            int LA16_0 = input.LA(1);

            if ( (LA16_0==RULE_ID) ) {
                alt16=1;
            }
            switch (alt16) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:941:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:941:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:942:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleButton2046); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getButtonAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getButtonRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:958:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:959:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:959:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:960:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleButton2069); 

            			newLeafNode(lv_text_2_0, grammarAccess.getButtonAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:976:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:977:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:977:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:978:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleButton2095);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleButton"


    // $ANTLR start "entryRuleListView"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1002:1: entryRuleListView returns [EObject current=null] : iv_ruleListView= ruleListView EOF ;
    public final EObject entryRuleListView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleListView = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1003:2: (iv_ruleListView= ruleListView EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1004:2: iv_ruleListView= ruleListView EOF
            {
             newCompositeNode(grammarAccess.getListViewRule()); 
            pushFollow(FOLLOW_ruleListView_in_entryRuleListView2131);
            iv_ruleListView=ruleListView();

            state._fsp--;

             current =iv_ruleListView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleListView2141); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleListView"


    // $ANTLR start "ruleListView"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1011:1: ruleListView returns [EObject current=null] : (otherlv_0= 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )? otherlv_8= '}' ) ;
    public final EObject ruleListView() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_3=null;
        Token otherlv_4=null;
        Token otherlv_5=null;
        Token otherlv_6=null;
        Token otherlv_7=null;
        Token otherlv_8=null;
        Enumerator lv_layoutStyle_2_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1014:28: ( (otherlv_0= 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )? otherlv_8= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1015:1: (otherlv_0= 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )? otherlv_8= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1015:1: (otherlv_0= 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )? otherlv_8= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1015:3: otherlv_0= 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )? otherlv_8= '}'
            {
            otherlv_0=(Token)match(input,23,FOLLOW_23_in_ruleListView2178); 

                	newLeafNode(otherlv_0, grammarAccess.getListViewAccess().getListviewKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1019:1: ( (lv_id_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1020:1: (lv_id_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1020:1: (lv_id_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1021:3: lv_id_1_0= RULE_ID
            {
            lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2195); 

            			newLeafNode(lv_id_1_0, grammarAccess.getListViewAccess().getIdIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getListViewRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"id",
                    		lv_id_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1037:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1038:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1038:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1039:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getListViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleListView2221);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getListViewRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleListView2233); 

                	newLeafNode(otherlv_3, grammarAccess.getListViewAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1059:1: (otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) ) )?
            int alt17=2;
            int LA17_0 = input.LA(1);

            if ( (LA17_0==24) ) {
                alt17=1;
            }
            switch (alt17) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1059:3: otherlv_4= 'entries' ( (otherlv_5= RULE_ID ) )
                    {
                    otherlv_4=(Token)match(input,24,FOLLOW_24_in_ruleListView2246); 

                        	newLeafNode(otherlv_4, grammarAccess.getListViewAccess().getEntriesKeyword_4_0());
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1063:1: ( (otherlv_5= RULE_ID ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1064:1: (otherlv_5= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1064:1: (otherlv_5= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1065:3: otherlv_5= RULE_ID
                    {

                    			if (current==null) {
                    	            current = createModelElement(grammarAccess.getListViewRule());
                    	        }
                            
                    otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2266); 

                    		newLeafNode(otherlv_5, grammarAccess.getListViewAccess().getEntriesStringEntryCrossReference_4_1_0()); 
                    	

                    }


                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1076:4: (otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) ) )?
            int alt18=2;
            int LA18_0 = input.LA(1);

            if ( (LA18_0==25) ) {
                alt18=1;
            }
            switch (alt18) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1076:6: otherlv_6= 'listitem' ( (otherlv_7= RULE_ID ) )
                    {
                    otherlv_6=(Token)match(input,25,FOLLOW_25_in_ruleListView2281); 

                        	newLeafNode(otherlv_6, grammarAccess.getListViewAccess().getListitemKeyword_5_0());
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1080:1: ( (otherlv_7= RULE_ID ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1081:1: (otherlv_7= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1081:1: (otherlv_7= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1082:3: otherlv_7= RULE_ID
                    {

                    			if (current==null) {
                    	            current = createModelElement(grammarAccess.getListViewRule());
                    	        }
                            
                    otherlv_7=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2301); 

                    		newLeafNode(otherlv_7, grammarAccess.getListViewAccess().getLayoutAndroGuiRootCrossReference_5_1_0()); 
                    	

                    }


                    }


                    }
                    break;

            }

            otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleListView2315); 

                	newLeafNode(otherlv_8, grammarAccess.getListViewAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleListView"


    // $ANTLR start "entryRuleSpinner"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1105:1: entryRuleSpinner returns [EObject current=null] : iv_ruleSpinner= ruleSpinner EOF ;
    public final EObject entryRuleSpinner() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleSpinner = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1106:2: (iv_ruleSpinner= ruleSpinner EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1107:2: iv_ruleSpinner= ruleSpinner EOF
            {
             newCompositeNode(grammarAccess.getSpinnerRule()); 
            pushFollow(FOLLOW_ruleSpinner_in_entryRuleSpinner2351);
            iv_ruleSpinner=ruleSpinner();

            state._fsp--;

             current =iv_ruleSpinner; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleSpinner2361); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleSpinner"


    // $ANTLR start "ruleSpinner"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1114:1: ruleSpinner returns [EObject current=null] : (otherlv_0= 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( (otherlv_2= RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleSpinner() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_2=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1117:28: ( (otherlv_0= 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( (otherlv_2= RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1118:1: (otherlv_0= 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( (otherlv_2= RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1118:1: (otherlv_0= 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( (otherlv_2= RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1118:3: otherlv_0= 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( (otherlv_2= RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleSpinner2398); 

                	newLeafNode(otherlv_0, grammarAccess.getSpinnerAccess().getSpinnerKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1122:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt19=2;
            int LA19_0 = input.LA(1);

            if ( (LA19_0==RULE_ID) ) {
                int LA19_1 = input.LA(2);

                if ( (LA19_1==RULE_ID) ) {
                    alt19=1;
                }
            }
            switch (alt19) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1123:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1123:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1124:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpinner2415); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getSpinnerAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getSpinnerRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1140:3: ( (otherlv_2= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1141:1: (otherlv_2= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1141:1: (otherlv_2= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1142:3: otherlv_2= RULE_ID
            {

            			if (current==null) {
            	            current = createModelElement(grammarAccess.getSpinnerRule());
            	        }
                    
            otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpinner2441); 

            		newLeafNode(otherlv_2, grammarAccess.getSpinnerAccess().getEntriesStringEntryCrossReference_2_0()); 
            	

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1153:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1154:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1154:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1155:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getSpinnerAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleSpinner2462);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getSpinnerRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleSpinner"


    // $ANTLR start "entryRuleCheckBox"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1179:1: entryRuleCheckBox returns [EObject current=null] : iv_ruleCheckBox= ruleCheckBox EOF ;
    public final EObject entryRuleCheckBox() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleCheckBox = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1180:2: (iv_ruleCheckBox= ruleCheckBox EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1181:2: iv_ruleCheckBox= ruleCheckBox EOF
            {
             newCompositeNode(grammarAccess.getCheckBoxRule()); 
            pushFollow(FOLLOW_ruleCheckBox_in_entryRuleCheckBox2498);
            iv_ruleCheckBox=ruleCheckBox();

            state._fsp--;

             current =iv_ruleCheckBox; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleCheckBox2508); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleCheckBox"


    // $ANTLR start "ruleCheckBox"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1188:1: ruleCheckBox returns [EObject current=null] : (otherlv_0= 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleCheckBox() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1191:28: ( (otherlv_0= 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1192:1: (otherlv_0= 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1192:1: (otherlv_0= 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1192:3: otherlv_0= 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleCheckBox2545); 

                	newLeafNode(otherlv_0, grammarAccess.getCheckBoxAccess().getCheckboxKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1196:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt20=2;
            int LA20_0 = input.LA(1);

            if ( (LA20_0==RULE_ID) ) {
                alt20=1;
            }
            switch (alt20) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1197:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1197:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1198:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCheckBox2562); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getCheckBoxAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getCheckBoxRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1214:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1215:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1215:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1216:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleCheckBox2585); 

            			newLeafNode(lv_text_2_0, grammarAccess.getCheckBoxAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getCheckBoxRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1232:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1233:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1233:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1234:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getCheckBoxAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleCheckBox2611);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getCheckBoxRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleCheckBox"


    // $ANTLR start "entryRuleRadioGroup"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1258:1: entryRuleRadioGroup returns [EObject current=null] : iv_ruleRadioGroup= ruleRadioGroup EOF ;
    public final EObject entryRuleRadioGroup() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioGroup = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1259:2: (iv_ruleRadioGroup= ruleRadioGroup EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1260:2: iv_ruleRadioGroup= ruleRadioGroup EOF
            {
             newCompositeNode(grammarAccess.getRadioGroupRule()); 
            pushFollow(FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2647);
            iv_ruleRadioGroup=ruleRadioGroup();

            state._fsp--;

             current =iv_ruleRadioGroup; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioGroup2657); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRadioGroup"


    // $ANTLR start "ruleRadioGroup"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1267:1: ruleRadioGroup returns [EObject current=null] : (otherlv_0= 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' ) ;
    public final EObject ruleRadioGroup() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_orientation_2_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Token otherlv_7=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_radiobuttons_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1270:28: ( (otherlv_0= 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1271:1: (otherlv_0= 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1271:1: (otherlv_0= 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1271:3: otherlv_0= 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleRadioGroup2694); 

                	newLeafNode(otherlv_0, grammarAccess.getRadioGroupAccess().getRadiogroupKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1275:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt21=2;
            int LA21_0 = input.LA(1);

            if ( (LA21_0==RULE_ID) ) {
                alt21=1;
            }
            switch (alt21) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1276:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1276:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1277:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioGroup2711); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getRadioGroupAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRadioGroupRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1293:3: ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )?
            int alt22=3;
            int LA22_0 = input.LA(1);

            if ( (LA22_0==16) ) {
                alt22=1;
            }
            else if ( (LA22_0==17) ) {
                alt22=2;
            }
            switch (alt22) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1293:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1293:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1294:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1294:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1295:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)match(input,16,FOLLOW_16_in_ruleRadioGroup2736); 

                            newLeafNode(lv_orientation_2_0, grammarAccess.getRadioGroupAccess().getOrientationHorizontalKeyword_2_0_0());
                        

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRadioGroupRule());
                    	        }
                           		setWithLastConsumed(current, "orientation", true, "horizontal");
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1309:7: otherlv_3= 'vertical'
                    {
                    otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleRadioGroup2767); 

                        	newLeafNode(otherlv_3, grammarAccess.getRadioGroupAccess().getVerticalKeyword_2_1());
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1313:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1314:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1314:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1315:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRadioGroupAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2790);
            lv_layoutStyle_4_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRadioGroupRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_4_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleRadioGroup2802); 

                	newLeafNode(otherlv_5, grammarAccess.getRadioGroupAccess().getLeftCurlyBracketKeyword_4());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1335:1: ( (lv_radiobuttons_6_0= ruleRadioButton ) )+
            int cnt23=0;
            loop23:
            do {
                int alt23=2;
                int LA23_0 = input.LA(1);

                if ( (LA23_0==33) ) {
                    alt23=1;
                }


                switch (alt23) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1336:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1336:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1337:3: lv_radiobuttons_6_0= ruleRadioButton
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getRadioGroupAccess().getRadiobuttonsRadioButtonParserRuleCall_5_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleRadioButton_in_ruleRadioGroup2823);
            	    lv_radiobuttons_6_0=ruleRadioButton();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getRadioGroupRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"radiobuttons",
            	            		lv_radiobuttons_6_0, 
            	            		"RadioButton");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt23 >= 1 ) break loop23;
                        EarlyExitException eee =
                            new EarlyExitException(23, input);
                        throw eee;
                }
                cnt23++;
            } while (true);

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleRadioGroup2836); 

                	newLeafNode(otherlv_7, grammarAccess.getRadioGroupAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRadioGroup"


    // $ANTLR start "entryRuleRatingBar"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1365:1: entryRuleRatingBar returns [EObject current=null] : iv_ruleRatingBar= ruleRatingBar EOF ;
    public final EObject entryRuleRatingBar() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRatingBar = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1366:2: (iv_ruleRatingBar= ruleRatingBar EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1367:2: iv_ruleRatingBar= ruleRatingBar EOF
            {
             newCompositeNode(grammarAccess.getRatingBarRule()); 
            pushFollow(FOLLOW_ruleRatingBar_in_entryRuleRatingBar2872);
            iv_ruleRatingBar=ruleRatingBar();

            state._fsp--;

             current =iv_ruleRatingBar; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRatingBar2882); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRatingBar"


    // $ANTLR start "ruleRatingBar"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1374:1: ruleRatingBar returns [EObject current=null] : (otherlv_0= 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRatingBar() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_numStars_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1377:28: ( (otherlv_0= 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1378:1: (otherlv_0= 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1378:1: (otherlv_0= 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1378:3: otherlv_0= 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleRatingBar2919); 

                	newLeafNode(otherlv_0, grammarAccess.getRatingBarAccess().getRatingbarKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1382:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt24=2;
            int LA24_0 = input.LA(1);

            if ( (LA24_0==RULE_ID) ) {
                alt24=1;
            }
            switch (alt24) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1383:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1383:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1384:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRatingBar2936); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getRatingBarAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRatingBarRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1400:3: ( (lv_numStars_2_0= RULE_INT ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1401:1: (lv_numStars_2_0= RULE_INT )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1401:1: (lv_numStars_2_0= RULE_INT )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1402:3: lv_numStars_2_0= RULE_INT
            {
            lv_numStars_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRatingBar2959); 

            			newLeafNode(lv_numStars_2_0, grammarAccess.getRatingBarAccess().getNumStarsINTTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRatingBarRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"numStars",
                    		lv_numStars_2_0, 
                    		"INT");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1418:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1419:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1419:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1420:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRatingBarAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRatingBar2985);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRatingBarRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRatingBar"


    // $ANTLR start "entryRuleToggleButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1444:1: entryRuleToggleButton returns [EObject current=null] : iv_ruleToggleButton= ruleToggleButton EOF ;
    public final EObject entryRuleToggleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleToggleButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1445:2: (iv_ruleToggleButton= ruleToggleButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1446:2: iv_ruleToggleButton= ruleToggleButton EOF
            {
             newCompositeNode(grammarAccess.getToggleButtonRule()); 
            pushFollow(FOLLOW_ruleToggleButton_in_entryRuleToggleButton3021);
            iv_ruleToggleButton=ruleToggleButton();

            state._fsp--;

             current =iv_ruleToggleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleToggleButton3031); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleToggleButton"


    // $ANTLR start "ruleToggleButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1453:1: ruleToggleButton returns [EObject current=null] : (otherlv_0= 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleToggleButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token otherlv_2=null;
        Token lv_textOn_3_0=null;
        Token otherlv_4=null;
        Token lv_textOff_5_0=null;
        Enumerator lv_layoutStyle_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1456:28: ( (otherlv_0= 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1457:1: (otherlv_0= 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1457:1: (otherlv_0= 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1457:3: otherlv_0= 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleToggleButton3068); 

                	newLeafNode(otherlv_0, grammarAccess.getToggleButtonAccess().getTogglebuttonKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1461:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt25=2;
            int LA25_0 = input.LA(1);

            if ( (LA25_0==RULE_ID) ) {
                alt25=1;
            }
            switch (alt25) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1462:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1462:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1463:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleToggleButton3085); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getToggleButtonAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getToggleButtonRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleToggleButton3103); 

                	newLeafNode(otherlv_2, grammarAccess.getToggleButtonAccess().getTextOnKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1483:1: ( (lv_textOn_3_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1484:1: (lv_textOn_3_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1484:1: (lv_textOn_3_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1485:3: lv_textOn_3_0= RULE_STRING
            {
            lv_textOn_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3120); 

            			newLeafNode(lv_textOn_3_0, grammarAccess.getToggleButtonAccess().getTextOnSTRINGTerminalRuleCall_3_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getToggleButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"textOn",
                    		lv_textOn_3_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_4=(Token)match(input,32,FOLLOW_32_in_ruleToggleButton3137); 

                	newLeafNode(otherlv_4, grammarAccess.getToggleButtonAccess().getTextOffKeyword_4());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1505:1: ( (lv_textOff_5_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1506:1: (lv_textOff_5_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1506:1: (lv_textOff_5_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1507:3: lv_textOff_5_0= RULE_STRING
            {
            lv_textOff_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3154); 

            			newLeafNode(lv_textOff_5_0, grammarAccess.getToggleButtonAccess().getTextOffSTRINGTerminalRuleCall_5_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getToggleButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"textOff",
                    		lv_textOff_5_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1523:2: ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1524:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1524:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1525:3: lv_layoutStyle_6_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getToggleButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_6_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleToggleButton3180);
            lv_layoutStyle_6_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getToggleButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_6_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleToggleButton"


    // $ANTLR start "entryRuleRadioButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1549:1: entryRuleRadioButton returns [EObject current=null] : iv_ruleRadioButton= ruleRadioButton EOF ;
    public final EObject entryRuleRadioButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1550:2: (iv_ruleRadioButton= ruleRadioButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1551:2: iv_ruleRadioButton= ruleRadioButton EOF
            {
             newCompositeNode(grammarAccess.getRadioButtonRule()); 
            pushFollow(FOLLOW_ruleRadioButton_in_entryRuleRadioButton3216);
            iv_ruleRadioButton=ruleRadioButton();

            state._fsp--;

             current =iv_ruleRadioButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioButton3226); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRadioButton"


    // $ANTLR start "ruleRadioButton"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1558:1: ruleRadioButton returns [EObject current=null] : (otherlv_0= 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRadioButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1561:28: ( (otherlv_0= 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1562:1: (otherlv_0= 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1562:1: (otherlv_0= 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1562:3: otherlv_0= 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,33,FOLLOW_33_in_ruleRadioButton3263); 

                	newLeafNode(otherlv_0, grammarAccess.getRadioButtonAccess().getRadiobuttonKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1566:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt26=2;
            int LA26_0 = input.LA(1);

            if ( (LA26_0==RULE_ID) ) {
                alt26=1;
            }
            switch (alt26) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1567:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1567:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1568:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioButton3280); 

                    			newLeafNode(lv_id_1_0, grammarAccess.getRadioButtonAccess().getIdIDTerminalRuleCall_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRadioButtonRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"id",
                            		lv_id_1_0, 
                            		"ID");
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1584:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1585:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1585:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1586:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRadioButton3303); 

            			newLeafNode(lv_text_2_0, grammarAccess.getRadioButtonAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRadioButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1602:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1603:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1603:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1604:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRadioButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioButton3329);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRadioButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRadioButton"


    // $ANTLR start "entryRulePreferenceKeyAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1628:1: entryRulePreferenceKeyAttribute returns [EObject current=null] : iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF ;
    public final EObject entryRulePreferenceKeyAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceKeyAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1629:2: (iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1630:2: iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceKeyAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_entryRulePreferenceKeyAttribute3365);
            iv_rulePreferenceKeyAttribute=rulePreferenceKeyAttribute();

            state._fsp--;

             current =iv_rulePreferenceKeyAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceKeyAttribute3375); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceKeyAttribute"


    // $ANTLR start "rulePreferenceKeyAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1637:1: rulePreferenceKeyAttribute returns [EObject current=null] : (otherlv_0= 'key' ( (lv_value_1_0= RULE_ID ) ) ) ;
    public final EObject rulePreferenceKeyAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_value_1_0=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1640:28: ( (otherlv_0= 'key' ( (lv_value_1_0= RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1641:1: (otherlv_0= 'key' ( (lv_value_1_0= RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1641:1: (otherlv_0= 'key' ( (lv_value_1_0= RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1641:3: otherlv_0= 'key' ( (lv_value_1_0= RULE_ID ) )
            {
            otherlv_0=(Token)match(input,34,FOLLOW_34_in_rulePreferenceKeyAttribute3412); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceKeyAttributeAccess().getKeyKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1645:1: ( (lv_value_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1646:1: (lv_value_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1646:1: (lv_value_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1647:3: lv_value_1_0= RULE_ID
            {
            lv_value_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceKeyAttribute3429); 

            			newLeafNode(lv_value_1_0, grammarAccess.getPreferenceKeyAttributeAccess().getValueIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceKeyAttributeRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"value",
                    		lv_value_1_0, 
                    		"ID");
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceKeyAttribute"


    // $ANTLR start "entryRulePreferenceSummaryAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1671:1: entryRulePreferenceSummaryAttribute returns [EObject current=null] : iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF ;
    public final EObject entryRulePreferenceSummaryAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceSummaryAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1672:2: (iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1673:2: iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceSummaryAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_entryRulePreferenceSummaryAttribute3470);
            iv_rulePreferenceSummaryAttribute=rulePreferenceSummaryAttribute();

            state._fsp--;

             current =iv_rulePreferenceSummaryAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceSummaryAttribute3480); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceSummaryAttribute"


    // $ANTLR start "rulePreferenceSummaryAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1680:1: rulePreferenceSummaryAttribute returns [EObject current=null] : (otherlv_0= 'summary' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceSummaryAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_value_1_0=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1683:28: ( (otherlv_0= 'summary' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1684:1: (otherlv_0= 'summary' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1684:1: (otherlv_0= 'summary' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1684:3: otherlv_0= 'summary' ( (lv_value_1_0= RULE_STRING ) )
            {
            otherlv_0=(Token)match(input,35,FOLLOW_35_in_rulePreferenceSummaryAttribute3517); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceSummaryAttributeAccess().getSummaryKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1688:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1689:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1689:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1690:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceSummaryAttribute3534); 

            			newLeafNode(lv_value_1_0, grammarAccess.getPreferenceSummaryAttributeAccess().getValueSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceSummaryAttributeRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"value",
                    		lv_value_1_0, 
                    		"STRING");
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceSummaryAttribute"


    // $ANTLR start "entryRulePreferenceEnabledAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1714:1: entryRulePreferenceEnabledAttribute returns [EObject current=null] : iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF ;
    public final EObject entryRulePreferenceEnabledAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEnabledAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1715:2: (iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1716:2: iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceEnabledAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_entryRulePreferenceEnabledAttribute3575);
            iv_rulePreferenceEnabledAttribute=rulePreferenceEnabledAttribute();

            state._fsp--;

             current =iv_rulePreferenceEnabledAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEnabledAttribute3585); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceEnabledAttribute"


    // $ANTLR start "rulePreferenceEnabledAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1723:1: rulePreferenceEnabledAttribute returns [EObject current=null] : (otherlv_0= 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) ) ;
    public final EObject rulePreferenceEnabledAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        EObject lv_enabled_1_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1726:28: ( (otherlv_0= 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1727:1: (otherlv_0= 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1727:1: (otherlv_0= 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1727:3: otherlv_0= 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) )
            {
            otherlv_0=(Token)match(input,36,FOLLOW_36_in_rulePreferenceEnabledAttribute3622); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceEnabledAttributeAccess().getEnabledKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1731:1: ( (lv_enabled_1_0= ruleBooleanLiteral ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1732:1: (lv_enabled_1_0= ruleBooleanLiteral )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1732:1: (lv_enabled_1_0= ruleBooleanLiteral )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1733:3: lv_enabled_1_0= ruleBooleanLiteral
            {
             
            	        newCompositeNode(grammarAccess.getPreferenceEnabledAttributeAccess().getEnabledBooleanLiteralParserRuleCall_1_0()); 
            	    
            pushFollow(FOLLOW_ruleBooleanLiteral_in_rulePreferenceEnabledAttribute3643);
            lv_enabled_1_0=ruleBooleanLiteral();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getPreferenceEnabledAttributeRule());
            	        }
                   		set(
                   			current, 
                   			"enabled",
                    		lv_enabled_1_0, 
                    		"BooleanLiteral");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceEnabledAttribute"


    // $ANTLR start "entryRulePreferencePersistentAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1757:1: entryRulePreferencePersistentAttribute returns [EObject current=null] : iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF ;
    public final EObject entryRulePreferencePersistentAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferencePersistentAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1758:2: (iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1759:2: iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferencePersistentAttributeRule()); 
            pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_entryRulePreferencePersistentAttribute3679);
            iv_rulePreferencePersistentAttribute=rulePreferencePersistentAttribute();

            state._fsp--;

             current =iv_rulePreferencePersistentAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferencePersistentAttribute3689); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferencePersistentAttribute"


    // $ANTLR start "rulePreferencePersistentAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1766:1: rulePreferencePersistentAttribute returns [EObject current=null] : (otherlv_0= 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) ) ;
    public final EObject rulePreferencePersistentAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        EObject lv_persistent_1_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1769:28: ( (otherlv_0= 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1770:1: (otherlv_0= 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1770:1: (otherlv_0= 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1770:3: otherlv_0= 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) )
            {
            otherlv_0=(Token)match(input,37,FOLLOW_37_in_rulePreferencePersistentAttribute3726); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferencePersistentAttributeAccess().getPersistentKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1774:1: ( (lv_persistent_1_0= ruleBooleanLiteral ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1775:1: (lv_persistent_1_0= ruleBooleanLiteral )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1775:1: (lv_persistent_1_0= ruleBooleanLiteral )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1776:3: lv_persistent_1_0= ruleBooleanLiteral
            {
             
            	        newCompositeNode(grammarAccess.getPreferencePersistentAttributeAccess().getPersistentBooleanLiteralParserRuleCall_1_0()); 
            	    
            pushFollow(FOLLOW_ruleBooleanLiteral_in_rulePreferencePersistentAttribute3747);
            lv_persistent_1_0=ruleBooleanLiteral();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getPreferencePersistentAttributeRule());
            	        }
                   		set(
                   			current, 
                   			"persistent",
                    		lv_persistent_1_0, 
                    		"BooleanLiteral");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferencePersistentAttribute"


    // $ANTLR start "entryRulePreferenceDialogTitleAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1800:1: entryRulePreferenceDialogTitleAttribute returns [EObject current=null] : iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF ;
    public final EObject entryRulePreferenceDialogTitleAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceDialogTitleAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1801:2: (iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1802:2: iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceDialogTitleAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_entryRulePreferenceDialogTitleAttribute3783);
            iv_rulePreferenceDialogTitleAttribute=rulePreferenceDialogTitleAttribute();

            state._fsp--;

             current =iv_rulePreferenceDialogTitleAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceDialogTitleAttribute3793); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceDialogTitleAttribute"


    // $ANTLR start "rulePreferenceDialogTitleAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1809:1: rulePreferenceDialogTitleAttribute returns [EObject current=null] : (otherlv_0= 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceDialogTitleAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_value_1_0=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1812:28: ( (otherlv_0= 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1813:1: (otherlv_0= 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1813:1: (otherlv_0= 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1813:3: otherlv_0= 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) )
            {
            otherlv_0=(Token)match(input,38,FOLLOW_38_in_rulePreferenceDialogTitleAttribute3830); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceDialogTitleAttributeAccess().getDialogTitleKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1817:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1818:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1818:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1819:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceDialogTitleAttribute3847); 

            			newLeafNode(lv_value_1_0, grammarAccess.getPreferenceDialogTitleAttributeAccess().getValueSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceDialogTitleAttributeRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"value",
                    		lv_value_1_0, 
                    		"STRING");
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceDialogTitleAttribute"


    // $ANTLR start "entryRulePreferenceDefaultValueAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1843:1: entryRulePreferenceDefaultValueAttribute returns [EObject current=null] : iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF ;
    public final EObject entryRulePreferenceDefaultValueAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceDefaultValueAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1844:2: (iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1845:2: iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceDefaultValueAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_entryRulePreferenceDefaultValueAttribute3888);
            iv_rulePreferenceDefaultValueAttribute=rulePreferenceDefaultValueAttribute();

            state._fsp--;

             current =iv_rulePreferenceDefaultValueAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceDefaultValueAttribute3898); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceDefaultValueAttribute"


    // $ANTLR start "rulePreferenceDefaultValueAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1852:1: rulePreferenceDefaultValueAttribute returns [EObject current=null] : (otherlv_0= 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceDefaultValueAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_value_1_0=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1855:28: ( (otherlv_0= 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1856:1: (otherlv_0= 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1856:1: (otherlv_0= 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1856:3: otherlv_0= 'defaultValue' ( (lv_value_1_0= RULE_STRING ) )
            {
            otherlv_0=(Token)match(input,39,FOLLOW_39_in_rulePreferenceDefaultValueAttribute3935); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceDefaultValueAttributeAccess().getDefaultValueKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1860:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1861:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1861:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1862:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceDefaultValueAttribute3952); 

            			newLeafNode(lv_value_1_0, grammarAccess.getPreferenceDefaultValueAttributeAccess().getValueSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceDefaultValueAttributeRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"value",
                    		lv_value_1_0, 
                    		"STRING");
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceDefaultValueAttribute"


    // $ANTLR start "entryRulePreferenceEntriesAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1886:1: entryRulePreferenceEntriesAttribute returns [EObject current=null] : iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF ;
    public final EObject entryRulePreferenceEntriesAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEntriesAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1887:2: (iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1888:2: iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceEntriesAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceEntriesAttribute_in_entryRulePreferenceEntriesAttribute3993);
            iv_rulePreferenceEntriesAttribute=rulePreferenceEntriesAttribute();

            state._fsp--;

             current =iv_rulePreferenceEntriesAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEntriesAttribute4003); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceEntriesAttribute"


    // $ANTLR start "rulePreferenceEntriesAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1895:1: rulePreferenceEntriesAttribute returns [EObject current=null] : (otherlv_0= 'entries' ( (otherlv_1= RULE_ID ) ) ) ;
    public final EObject rulePreferenceEntriesAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token otherlv_1=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1898:28: ( (otherlv_0= 'entries' ( (otherlv_1= RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1899:1: (otherlv_0= 'entries' ( (otherlv_1= RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1899:1: (otherlv_0= 'entries' ( (otherlv_1= RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1899:3: otherlv_0= 'entries' ( (otherlv_1= RULE_ID ) )
            {
            otherlv_0=(Token)match(input,24,FOLLOW_24_in_rulePreferenceEntriesAttribute4040); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceEntriesAttributeAccess().getEntriesKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1903:1: ( (otherlv_1= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1904:1: (otherlv_1= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1904:1: (otherlv_1= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1905:3: otherlv_1= RULE_ID
            {

            			if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceEntriesAttributeRule());
            	        }
                    
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceEntriesAttribute4060); 

            		newLeafNode(otherlv_1, grammarAccess.getPreferenceEntriesAttributeAccess().getEntriesStringEntryCrossReference_1_0()); 
            	

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceEntriesAttribute"


    // $ANTLR start "entryRulePreferenceEntryValuesAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1924:1: entryRulePreferenceEntryValuesAttribute returns [EObject current=null] : iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF ;
    public final EObject entryRulePreferenceEntryValuesAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEntryValuesAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1925:2: (iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1926:2: iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF
            {
             newCompositeNode(grammarAccess.getPreferenceEntryValuesAttributeRule()); 
            pushFollow(FOLLOW_rulePreferenceEntryValuesAttribute_in_entryRulePreferenceEntryValuesAttribute4096);
            iv_rulePreferenceEntryValuesAttribute=rulePreferenceEntryValuesAttribute();

            state._fsp--;

             current =iv_rulePreferenceEntryValuesAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEntryValuesAttribute4106); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceEntryValuesAttribute"


    // $ANTLR start "rulePreferenceEntryValuesAttribute"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1933:1: rulePreferenceEntryValuesAttribute returns [EObject current=null] : (otherlv_0= 'entryValues' ( (otherlv_1= RULE_ID ) ) ) ;
    public final EObject rulePreferenceEntryValuesAttribute() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token otherlv_1=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1936:28: ( (otherlv_0= 'entryValues' ( (otherlv_1= RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1937:1: (otherlv_0= 'entryValues' ( (otherlv_1= RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1937:1: (otherlv_0= 'entryValues' ( (otherlv_1= RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1937:3: otherlv_0= 'entryValues' ( (otherlv_1= RULE_ID ) )
            {
            otherlv_0=(Token)match(input,40,FOLLOW_40_in_rulePreferenceEntryValuesAttribute4143); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceEntryValuesAttributeAccess().getEntryValuesKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1941:1: ( (otherlv_1= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1942:1: (otherlv_1= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1942:1: (otherlv_1= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1943:3: otherlv_1= RULE_ID
            {

            			if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceEntryValuesAttributeRule());
            	        }
                    
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceEntryValuesAttribute4163); 

            		newLeafNode(otherlv_1, grammarAccess.getPreferenceEntryValuesAttributeAccess().getEntryValuesStringEntryCrossReference_1_0()); 
            	

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceEntryValuesAttribute"


    // $ANTLR start "entryRulePreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1962:1: entryRulePreference returns [EObject current=null] : iv_rulePreference= rulePreference EOF ;
    public final EObject entryRulePreference() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1963:2: (iv_rulePreference= rulePreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1964:2: iv_rulePreference= rulePreference EOF
            {
             newCompositeNode(grammarAccess.getPreferenceRule()); 
            pushFollow(FOLLOW_rulePreference_in_entryRulePreference4199);
            iv_rulePreference=rulePreference();

            state._fsp--;

             current =iv_rulePreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreference4209); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreference"


    // $ANTLR start "rulePreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1971:1: rulePreference returns [EObject current=null] : ( (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen ) ;
    public final EObject rulePreference() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_7=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject this_EditTextPreference_8 = null;

        EObject this_ListPreference_9 = null;

        EObject this_CheckBoxPreference_10 = null;

        EObject this_RingtonePrefence_11 = null;

        EObject this_PreferenceCategory_12 = null;

        EObject this_PreferenceScreen_13 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1974:28: ( ( (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1975:1: ( (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1975:1: ( (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen )
            int alt31=7;
            switch ( input.LA(1) ) {
            case 41:
                {
                alt31=1;
                }
                break;
            case 44:
                {
                alt31=2;
                }
                break;
            case 45:
                {
                alt31=3;
                }
                break;
            case 46:
                {
                alt31=4;
                }
                break;
            case 47:
                {
                alt31=5;
                }
                break;
            case 43:
                {
                alt31=6;
                }
                break;
            case 42:
                {
                alt31=7;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 31, 0, input);

                throw nvae;
            }

            switch (alt31) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1975:2: (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1975:2: (otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1975:4: otherlv_0= 'preference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}'
                    {
                    otherlv_0=(Token)match(input,41,FOLLOW_41_in_rulePreference4247); 

                        	newLeafNode(otherlv_0, grammarAccess.getPreferenceAccess().getPreferenceKeyword_0_0());
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1979:1: ( (lv_title_1_0= RULE_STRING ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1980:1: (lv_title_1_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1980:1: (lv_title_1_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:1981:3: lv_title_1_0= RULE_STRING
                    {
                    lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreference4264); 

                    			newLeafNode(lv_title_1_0, grammarAccess.getPreferenceAccess().getTitleSTRINGTerminalRuleCall_0_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getPreferenceRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"title",
                            		lv_title_1_0, 
                            		"STRING");
                    	    

                    }


                    }

                    otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePreference4281); 

                        	newLeafNode(otherlv_2, grammarAccess.getPreferenceAccess().getLeftCurlyBracketKeyword_0_2());
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2001:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
                    int alt27=2;
                    int LA27_0 = input.LA(1);

                    if ( (LA27_0==34) ) {
                        alt27=1;
                    }
                    switch (alt27) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2002:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2002:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2003:3: lv_key_3_0= rulePreferenceKeyAttribute
                            {
                             
                            	        newCompositeNode(grammarAccess.getPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_0_3_0()); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_rulePreference4302);
                            lv_key_3_0=rulePreferenceKeyAttribute();

                            state._fsp--;


                            	        if (current==null) {
                            	            current = createModelElementForParent(grammarAccess.getPreferenceRule());
                            	        }
                                   		set(
                                   			current, 
                                   			"key",
                                    		lv_key_3_0, 
                                    		"PreferenceKeyAttribute");
                            	        afterParserOrEnumRuleCall();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2019:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
                    int alt28=2;
                    int LA28_0 = input.LA(1);

                    if ( (LA28_0==35) ) {
                        alt28=1;
                    }
                    switch (alt28) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2020:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2020:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2021:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                            {
                             
                            	        newCompositeNode(grammarAccess.getPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_0_4_0()); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_rulePreference4324);
                            lv_summary_4_0=rulePreferenceSummaryAttribute();

                            state._fsp--;


                            	        if (current==null) {
                            	            current = createModelElementForParent(grammarAccess.getPreferenceRule());
                            	        }
                                   		set(
                                   			current, 
                                   			"summary",
                                    		lv_summary_4_0, 
                                    		"PreferenceSummaryAttribute");
                            	        afterParserOrEnumRuleCall();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2037:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
                    int alt29=2;
                    int LA29_0 = input.LA(1);

                    if ( (LA29_0==36) ) {
                        alt29=1;
                    }
                    switch (alt29) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2038:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2038:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2039:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                            {
                             
                            	        newCompositeNode(grammarAccess.getPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_0_5_0()); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_rulePreference4346);
                            lv_enabled_5_0=rulePreferenceEnabledAttribute();

                            state._fsp--;


                            	        if (current==null) {
                            	            current = createModelElementForParent(grammarAccess.getPreferenceRule());
                            	        }
                                   		set(
                                   			current, 
                                   			"enabled",
                                    		lv_enabled_5_0, 
                                    		"PreferenceEnabledAttribute");
                            	        afterParserOrEnumRuleCall();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2055:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
                    int alt30=2;
                    int LA30_0 = input.LA(1);

                    if ( (LA30_0==37) ) {
                        alt30=1;
                    }
                    switch (alt30) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2056:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2056:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2057:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                            {
                             
                            	        newCompositeNode(grammarAccess.getPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_0_6_0()); 
                            	    
                            pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_rulePreference4368);
                            lv_persistent_6_0=rulePreferencePersistentAttribute();

                            state._fsp--;


                            	        if (current==null) {
                            	            current = createModelElementForParent(grammarAccess.getPreferenceRule());
                            	        }
                                   		set(
                                   			current, 
                                   			"persistent",
                                    		lv_persistent_6_0, 
                                    		"PreferencePersistentAttribute");
                            	        afterParserOrEnumRuleCall();
                            	    

                            }


                            }
                            break;

                    }

                    otherlv_7=(Token)match(input,14,FOLLOW_14_in_rulePreference4381); 

                        	newLeafNode(otherlv_7, grammarAccess.getPreferenceAccess().getRightCurlyBracketKeyword_0_7());
                        

                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2079:5: this_EditTextPreference_8= ruleEditTextPreference
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getEditTextPreferenceParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleEditTextPreference_in_rulePreference4410);
                    this_EditTextPreference_8=ruleEditTextPreference();

                    state._fsp--;

                     
                            current = this_EditTextPreference_8; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2089:5: this_ListPreference_9= ruleListPreference
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getListPreferenceParserRuleCall_2()); 
                        
                    pushFollow(FOLLOW_ruleListPreference_in_rulePreference4437);
                    this_ListPreference_9=ruleListPreference();

                    state._fsp--;

                     
                            current = this_ListPreference_9; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2099:5: this_CheckBoxPreference_10= ruleCheckBoxPreference
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getCheckBoxPreferenceParserRuleCall_3()); 
                        
                    pushFollow(FOLLOW_ruleCheckBoxPreference_in_rulePreference4464);
                    this_CheckBoxPreference_10=ruleCheckBoxPreference();

                    state._fsp--;

                     
                            current = this_CheckBoxPreference_10; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2109:5: this_RingtonePrefence_11= ruleRingtonePrefence
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getRingtonePrefenceParserRuleCall_4()); 
                        
                    pushFollow(FOLLOW_ruleRingtonePrefence_in_rulePreference4491);
                    this_RingtonePrefence_11=ruleRingtonePrefence();

                    state._fsp--;

                     
                            current = this_RingtonePrefence_11; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 6 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2119:5: this_PreferenceCategory_12= rulePreferenceCategory
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getPreferenceCategoryParserRuleCall_5()); 
                        
                    pushFollow(FOLLOW_rulePreferenceCategory_in_rulePreference4518);
                    this_PreferenceCategory_12=rulePreferenceCategory();

                    state._fsp--;

                     
                            current = this_PreferenceCategory_12; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 7 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2129:5: this_PreferenceScreen_13= rulePreferenceScreen
                    {
                     
                            newCompositeNode(grammarAccess.getPreferenceAccess().getPreferenceScreenParserRuleCall_6()); 
                        
                    pushFollow(FOLLOW_rulePreferenceScreen_in_rulePreference4545);
                    this_PreferenceScreen_13=rulePreferenceScreen();

                    state._fsp--;

                     
                            current = this_PreferenceScreen_13; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreference"


    // $ANTLR start "entryRulePreferenceScreen"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2145:1: entryRulePreferenceScreen returns [EObject current=null] : iv_rulePreferenceScreen= rulePreferenceScreen EOF ;
    public final EObject entryRulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceScreen = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2146:2: (iv_rulePreferenceScreen= rulePreferenceScreen EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2147:2: iv_rulePreferenceScreen= rulePreferenceScreen EOF
            {
             newCompositeNode(grammarAccess.getPreferenceScreenRule()); 
            pushFollow(FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen4580);
            iv_rulePreferenceScreen=rulePreferenceScreen();

            state._fsp--;

             current =iv_rulePreferenceScreen; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceScreen4590); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceScreen"


    // $ANTLR start "rulePreferenceScreen"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2154:1: rulePreferenceScreen returns [EObject current=null] : ( () otherlv_1= 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? otherlv_3= '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* otherlv_9= '}' ) ;
    public final EObject rulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        Token otherlv_1=null;
        Token lv_title_2_0=null;
        Token otherlv_3=null;
        Token otherlv_9=null;
        EObject lv_key_4_0 = null;

        EObject lv_summary_5_0 = null;

        EObject lv_enabled_6_0 = null;

        EObject lv_persistent_7_0 = null;

        EObject lv_preferences_8_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2157:28: ( ( () otherlv_1= 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? otherlv_3= '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* otherlv_9= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2158:1: ( () otherlv_1= 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? otherlv_3= '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* otherlv_9= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2158:1: ( () otherlv_1= 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? otherlv_3= '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* otherlv_9= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2158:2: () otherlv_1= 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? otherlv_3= '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* otherlv_9= '}'
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2158:2: ()
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2159:5: 
            {

                    current = forceCreateModelElement(
                        grammarAccess.getPreferenceScreenAccess().getPreferenceScreenAction_0(),
                        current);
                

            }

            otherlv_1=(Token)match(input,42,FOLLOW_42_in_rulePreferenceScreen4636); 

                	newLeafNode(otherlv_1, grammarAccess.getPreferenceScreenAccess().getPreferencescreenKeyword_1());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2168:1: ( (lv_title_2_0= RULE_STRING ) )?
            int alt32=2;
            int LA32_0 = input.LA(1);

            if ( (LA32_0==RULE_STRING) ) {
                alt32=1;
            }
            switch (alt32) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2169:1: (lv_title_2_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2169:1: (lv_title_2_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2170:3: lv_title_2_0= RULE_STRING
                    {
                    lv_title_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceScreen4653); 

                    			newLeafNode(lv_title_2_0, grammarAccess.getPreferenceScreenAccess().getTitleSTRINGTerminalRuleCall_2_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getPreferenceScreenRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"title",
                            		lv_title_2_0, 
                            		"STRING");
                    	    

                    }


                    }
                    break;

            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_rulePreferenceScreen4671); 

                	newLeafNode(otherlv_3, grammarAccess.getPreferenceScreenAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2190:1: ( (lv_key_4_0= rulePreferenceKeyAttribute ) )?
            int alt33=2;
            int LA33_0 = input.LA(1);

            if ( (LA33_0==34) ) {
                alt33=1;
            }
            switch (alt33) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2191:1: (lv_key_4_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2191:1: (lv_key_4_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2192:3: lv_key_4_0= rulePreferenceKeyAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getPreferenceScreenAccess().getKeyPreferenceKeyAttributeParserRuleCall_4_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_rulePreferenceScreen4692);
                    lv_key_4_0=rulePreferenceKeyAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getPreferenceScreenRule());
                    	        }
                           		set(
                           			current, 
                           			"key",
                            		lv_key_4_0, 
                            		"PreferenceKeyAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2208:3: ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )?
            int alt34=2;
            int LA34_0 = input.LA(1);

            if ( (LA34_0==35) ) {
                alt34=1;
            }
            switch (alt34) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2209:1: (lv_summary_5_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2209:1: (lv_summary_5_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2210:3: lv_summary_5_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getPreferenceScreenAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_5_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_rulePreferenceScreen4714);
                    lv_summary_5_0=rulePreferenceSummaryAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getPreferenceScreenRule());
                    	        }
                           		set(
                           			current, 
                           			"summary",
                            		lv_summary_5_0, 
                            		"PreferenceSummaryAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2226:3: ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )?
            int alt35=2;
            int LA35_0 = input.LA(1);

            if ( (LA35_0==36) ) {
                alt35=1;
            }
            switch (alt35) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2227:1: (lv_enabled_6_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2227:1: (lv_enabled_6_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2228:3: lv_enabled_6_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getPreferenceScreenAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_6_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_rulePreferenceScreen4736);
                    lv_enabled_6_0=rulePreferenceEnabledAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getPreferenceScreenRule());
                    	        }
                           		set(
                           			current, 
                           			"enabled",
                            		lv_enabled_6_0, 
                            		"PreferenceEnabledAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2244:3: ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )?
            int alt36=2;
            int LA36_0 = input.LA(1);

            if ( (LA36_0==37) ) {
                alt36=1;
            }
            switch (alt36) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2245:1: (lv_persistent_7_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2245:1: (lv_persistent_7_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2246:3: lv_persistent_7_0= rulePreferencePersistentAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getPreferenceScreenAccess().getPersistentPreferencePersistentAttributeParserRuleCall_7_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_rulePreferenceScreen4758);
                    lv_persistent_7_0=rulePreferencePersistentAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getPreferenceScreenRule());
                    	        }
                           		set(
                           			current, 
                           			"persistent",
                            		lv_persistent_7_0, 
                            		"PreferencePersistentAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2262:3: ( (lv_preferences_8_0= rulePreference ) )*
            loop37:
            do {
                int alt37=2;
                int LA37_0 = input.LA(1);

                if ( ((LA37_0>=41 && LA37_0<=47)) ) {
                    alt37=1;
                }


                switch (alt37) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2263:1: (lv_preferences_8_0= rulePreference )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2263:1: (lv_preferences_8_0= rulePreference )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2264:3: lv_preferences_8_0= rulePreference
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getPreferenceScreenAccess().getPreferencesPreferenceParserRuleCall_8_0()); 
            	    	    
            	    pushFollow(FOLLOW_rulePreference_in_rulePreferenceScreen4780);
            	    lv_preferences_8_0=rulePreference();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getPreferenceScreenRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"preferences",
            	            		lv_preferences_8_0, 
            	            		"Preference");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop37;
                }
            } while (true);

            otherlv_9=(Token)match(input,14,FOLLOW_14_in_rulePreferenceScreen4793); 

                	newLeafNode(otherlv_9, grammarAccess.getPreferenceScreenAccess().getRightCurlyBracketKeyword_9());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceScreen"


    // $ANTLR start "entryRulePreferenceCategory"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2292:1: entryRulePreferenceCategory returns [EObject current=null] : iv_rulePreferenceCategory= rulePreferenceCategory EOF ;
    public final EObject entryRulePreferenceCategory() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceCategory = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2293:2: (iv_rulePreferenceCategory= rulePreferenceCategory EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2294:2: iv_rulePreferenceCategory= rulePreferenceCategory EOF
            {
             newCompositeNode(grammarAccess.getPreferenceCategoryRule()); 
            pushFollow(FOLLOW_rulePreferenceCategory_in_entryRulePreferenceCategory4829);
            iv_rulePreferenceCategory=rulePreferenceCategory();

            state._fsp--;

             current =iv_rulePreferenceCategory; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceCategory4839); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceCategory"


    // $ANTLR start "rulePreferenceCategory"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2301:1: rulePreferenceCategory returns [EObject current=null] : (otherlv_0= 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_preferences_3_0= rulePreference ) )* otherlv_4= '}' ) ;
    public final EObject rulePreferenceCategory() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_4=null;
        EObject lv_preferences_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2304:28: ( (otherlv_0= 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_preferences_3_0= rulePreference ) )* otherlv_4= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2305:1: (otherlv_0= 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_preferences_3_0= rulePreference ) )* otherlv_4= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2305:1: (otherlv_0= 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_preferences_3_0= rulePreference ) )* otherlv_4= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2305:3: otherlv_0= 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_preferences_3_0= rulePreference ) )* otherlv_4= '}'
            {
            otherlv_0=(Token)match(input,43,FOLLOW_43_in_rulePreferenceCategory4876); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceCategoryAccess().getPreferencecategeryKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2309:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2310:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2310:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2311:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceCategory4893); 

            			newLeafNode(lv_title_1_0, grammarAccess.getPreferenceCategoryAccess().getTitleSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceCategoryRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_1_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePreferenceCategory4910); 

                	newLeafNode(otherlv_2, grammarAccess.getPreferenceCategoryAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2331:1: ( (lv_preferences_3_0= rulePreference ) )*
            loop38:
            do {
                int alt38=2;
                int LA38_0 = input.LA(1);

                if ( ((LA38_0>=41 && LA38_0<=47)) ) {
                    alt38=1;
                }


                switch (alt38) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2332:1: (lv_preferences_3_0= rulePreference )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2332:1: (lv_preferences_3_0= rulePreference )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2333:3: lv_preferences_3_0= rulePreference
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getPreferenceCategoryAccess().getPreferencesPreferenceParserRuleCall_3_0()); 
            	    	    
            	    pushFollow(FOLLOW_rulePreference_in_rulePreferenceCategory4931);
            	    lv_preferences_3_0=rulePreference();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getPreferenceCategoryRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"preferences",
            	            		lv_preferences_3_0, 
            	            		"Preference");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop38;
                }
            } while (true);

            otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePreferenceCategory4944); 

                	newLeafNode(otherlv_4, grammarAccess.getPreferenceCategoryAccess().getRightCurlyBracketKeyword_4());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceCategory"


    // $ANTLR start "entryRuleEditTextPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2361:1: entryRuleEditTextPreference returns [EObject current=null] : iv_ruleEditTextPreference= ruleEditTextPreference EOF ;
    public final EObject entryRuleEditTextPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEditTextPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2362:2: (iv_ruleEditTextPreference= ruleEditTextPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2363:2: iv_ruleEditTextPreference= ruleEditTextPreference EOF
            {
             newCompositeNode(grammarAccess.getEditTextPreferenceRule()); 
            pushFollow(FOLLOW_ruleEditTextPreference_in_entryRuleEditTextPreference4980);
            iv_ruleEditTextPreference=ruleEditTextPreference();

            state._fsp--;

             current =iv_ruleEditTextPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEditTextPreference4990); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleEditTextPreference"


    // $ANTLR start "ruleEditTextPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2370:1: ruleEditTextPreference returns [EObject current=null] : (otherlv_0= 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? otherlv_9= '}' ) ;
    public final EObject ruleEditTextPreference() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_9=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject lv_dialogTitle_7_0 = null;

        EObject lv_defaultValue_8_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2373:28: ( (otherlv_0= 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? otherlv_9= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2374:1: (otherlv_0= 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? otherlv_9= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2374:1: (otherlv_0= 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? otherlv_9= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2374:3: otherlv_0= 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? otherlv_9= '}'
            {
            otherlv_0=(Token)match(input,44,FOLLOW_44_in_ruleEditTextPreference5027); 

                	newLeafNode(otherlv_0, grammarAccess.getEditTextPreferenceAccess().getEdittextpreferenceKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2378:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2379:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2379:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2380:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEditTextPreference5044); 

            			newLeafNode(lv_title_1_0, grammarAccess.getEditTextPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getEditTextPreferenceRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_1_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleEditTextPreference5061); 

                	newLeafNode(otherlv_2, grammarAccess.getEditTextPreferenceAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2400:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt39=2;
            int LA39_0 = input.LA(1);

            if ( (LA39_0==34) ) {
                alt39=1;
            }
            switch (alt39) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2401:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2401:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2402:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleEditTextPreference5082);
                    lv_key_3_0=rulePreferenceKeyAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"key",
                            		lv_key_3_0, 
                            		"PreferenceKeyAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2418:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt40=2;
            int LA40_0 = input.LA(1);

            if ( (LA40_0==35) ) {
                alt40=1;
            }
            switch (alt40) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2419:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2419:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2420:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleEditTextPreference5104);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"summary",
                            		lv_summary_4_0, 
                            		"PreferenceSummaryAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2436:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt41=2;
            int LA41_0 = input.LA(1);

            if ( (LA41_0==36) ) {
                alt41=1;
            }
            switch (alt41) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2437:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2437:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2438:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleEditTextPreference5126);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"enabled",
                            		lv_enabled_5_0, 
                            		"PreferenceEnabledAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2454:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt42=2;
            int LA42_0 = input.LA(1);

            if ( (LA42_0==37) ) {
                alt42=1;
            }
            switch (alt42) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2455:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2455:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2456:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleEditTextPreference5148);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"persistent",
                            		lv_persistent_6_0, 
                            		"PreferencePersistentAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2472:3: ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )?
            int alt43=2;
            int LA43_0 = input.LA(1);

            if ( (LA43_0==38) ) {
                alt43=1;
            }
            switch (alt43) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2473:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2473:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2474:3: lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getDialogTitlePreferenceDialogTitleAttributeParserRuleCall_7_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleEditTextPreference5170);
                    lv_dialogTitle_7_0=rulePreferenceDialogTitleAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"dialogTitle",
                            		lv_dialogTitle_7_0, 
                            		"PreferenceDialogTitleAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2490:3: ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )?
            int alt44=2;
            int LA44_0 = input.LA(1);

            if ( (LA44_0==39) ) {
                alt44=1;
            }
            switch (alt44) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2491:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2491:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2492:3: lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getEditTextPreferenceAccess().getDefaultValuePreferenceDefaultValueAttributeParserRuleCall_8_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleEditTextPreference5192);
                    lv_defaultValue_8_0=rulePreferenceDefaultValueAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getEditTextPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"defaultValue",
                            		lv_defaultValue_8_0, 
                            		"PreferenceDefaultValueAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleEditTextPreference5205); 

                	newLeafNode(otherlv_9, grammarAccess.getEditTextPreferenceAccess().getRightCurlyBracketKeyword_9());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleEditTextPreference"


    // $ANTLR start "entryRuleListPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2520:1: entryRuleListPreference returns [EObject current=null] : iv_ruleListPreference= ruleListPreference EOF ;
    public final EObject entryRuleListPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleListPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2521:2: (iv_ruleListPreference= ruleListPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2522:2: iv_ruleListPreference= ruleListPreference EOF
            {
             newCompositeNode(grammarAccess.getListPreferenceRule()); 
            pushFollow(FOLLOW_ruleListPreference_in_entryRuleListPreference5241);
            iv_ruleListPreference=ruleListPreference();

            state._fsp--;

             current =iv_ruleListPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleListPreference5251); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleListPreference"


    // $ANTLR start "ruleListPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2529:1: ruleListPreference returns [EObject current=null] : (otherlv_0= 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? otherlv_11= '}' ) ;
    public final EObject ruleListPreference() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_11=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject lv_dialogTitle_7_0 = null;

        EObject lv_defaultValue_8_0 = null;

        EObject lv_entries_9_0 = null;

        EObject lv_entryValues_10_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2532:28: ( (otherlv_0= 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? otherlv_11= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2533:1: (otherlv_0= 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? otherlv_11= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2533:1: (otherlv_0= 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? otherlv_11= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2533:3: otherlv_0= 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? otherlv_11= '}'
            {
            otherlv_0=(Token)match(input,45,FOLLOW_45_in_ruleListPreference5288); 

                	newLeafNode(otherlv_0, grammarAccess.getListPreferenceAccess().getListpreferenceKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2537:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2538:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2538:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2539:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleListPreference5305); 

            			newLeafNode(lv_title_1_0, grammarAccess.getListPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getListPreferenceRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_1_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleListPreference5322); 

                	newLeafNode(otherlv_2, grammarAccess.getListPreferenceAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2559:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt45=2;
            int LA45_0 = input.LA(1);

            if ( (LA45_0==34) ) {
                alt45=1;
            }
            switch (alt45) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2560:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2560:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2561:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleListPreference5343);
                    lv_key_3_0=rulePreferenceKeyAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"key",
                            		lv_key_3_0, 
                            		"PreferenceKeyAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2577:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt46=2;
            int LA46_0 = input.LA(1);

            if ( (LA46_0==35) ) {
                alt46=1;
            }
            switch (alt46) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2578:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2578:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2579:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleListPreference5365);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"summary",
                            		lv_summary_4_0, 
                            		"PreferenceSummaryAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2595:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt47=2;
            int LA47_0 = input.LA(1);

            if ( (LA47_0==36) ) {
                alt47=1;
            }
            switch (alt47) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2596:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2596:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2597:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleListPreference5387);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"enabled",
                            		lv_enabled_5_0, 
                            		"PreferenceEnabledAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2613:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt48=2;
            int LA48_0 = input.LA(1);

            if ( (LA48_0==37) ) {
                alt48=1;
            }
            switch (alt48) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2614:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2614:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2615:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleListPreference5409);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"persistent",
                            		lv_persistent_6_0, 
                            		"PreferencePersistentAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2631:3: ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )?
            int alt49=2;
            int LA49_0 = input.LA(1);

            if ( (LA49_0==38) ) {
                alt49=1;
            }
            switch (alt49) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2632:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2632:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2633:3: lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getDialogTitlePreferenceDialogTitleAttributeParserRuleCall_7_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleListPreference5431);
                    lv_dialogTitle_7_0=rulePreferenceDialogTitleAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"dialogTitle",
                            		lv_dialogTitle_7_0, 
                            		"PreferenceDialogTitleAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2649:3: ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )?
            int alt50=2;
            int LA50_0 = input.LA(1);

            if ( (LA50_0==39) ) {
                alt50=1;
            }
            switch (alt50) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2650:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2650:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2651:3: lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getDefaultValuePreferenceDefaultValueAttributeParserRuleCall_8_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleListPreference5453);
                    lv_defaultValue_8_0=rulePreferenceDefaultValueAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"defaultValue",
                            		lv_defaultValue_8_0, 
                            		"PreferenceDefaultValueAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2667:3: ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )?
            int alt51=2;
            int LA51_0 = input.LA(1);

            if ( (LA51_0==24) ) {
                alt51=1;
            }
            switch (alt51) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2668:1: (lv_entries_9_0= rulePreferenceEntriesAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2668:1: (lv_entries_9_0= rulePreferenceEntriesAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2669:3: lv_entries_9_0= rulePreferenceEntriesAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getEntriesPreferenceEntriesAttributeParserRuleCall_9_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEntriesAttribute_in_ruleListPreference5475);
                    lv_entries_9_0=rulePreferenceEntriesAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"entries",
                            		lv_entries_9_0, 
                            		"PreferenceEntriesAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2685:3: ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )?
            int alt52=2;
            int LA52_0 = input.LA(1);

            if ( (LA52_0==40) ) {
                alt52=1;
            }
            switch (alt52) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2686:1: (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2686:1: (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2687:3: lv_entryValues_10_0= rulePreferenceEntryValuesAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getListPreferenceAccess().getEntryValuesPreferenceEntryValuesAttributeParserRuleCall_10_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEntryValuesAttribute_in_ruleListPreference5497);
                    lv_entryValues_10_0=rulePreferenceEntryValuesAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getListPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"entryValues",
                            		lv_entryValues_10_0, 
                            		"PreferenceEntryValuesAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            otherlv_11=(Token)match(input,14,FOLLOW_14_in_ruleListPreference5510); 

                	newLeafNode(otherlv_11, grammarAccess.getListPreferenceAccess().getRightCurlyBracketKeyword_11());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleListPreference"


    // $ANTLR start "entryRuleCheckBoxPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2715:1: entryRuleCheckBoxPreference returns [EObject current=null] : iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF ;
    public final EObject entryRuleCheckBoxPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleCheckBoxPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2716:2: (iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2717:2: iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF
            {
             newCompositeNode(grammarAccess.getCheckBoxPreferenceRule()); 
            pushFollow(FOLLOW_ruleCheckBoxPreference_in_entryRuleCheckBoxPreference5546);
            iv_ruleCheckBoxPreference=ruleCheckBoxPreference();

            state._fsp--;

             current =iv_ruleCheckBoxPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleCheckBoxPreference5556); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleCheckBoxPreference"


    // $ANTLR start "ruleCheckBoxPreference"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2724:1: ruleCheckBoxPreference returns [EObject current=null] : (otherlv_0= 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) ;
    public final EObject ruleCheckBoxPreference() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_7=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2727:28: ( (otherlv_0= 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2728:1: (otherlv_0= 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2728:1: (otherlv_0= 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2728:3: otherlv_0= 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,46,FOLLOW_46_in_ruleCheckBoxPreference5593); 

                	newLeafNode(otherlv_0, grammarAccess.getCheckBoxPreferenceAccess().getCheckboxpreferenceKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2732:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2733:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2733:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2734:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleCheckBoxPreference5610); 

            			newLeafNode(lv_title_1_0, grammarAccess.getCheckBoxPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getCheckBoxPreferenceRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_1_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleCheckBoxPreference5627); 

                	newLeafNode(otherlv_2, grammarAccess.getCheckBoxPreferenceAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2754:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt53=2;
            int LA53_0 = input.LA(1);

            if ( (LA53_0==34) ) {
                alt53=1;
            }
            switch (alt53) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2755:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2755:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2756:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleCheckBoxPreference5648);
                    lv_key_3_0=rulePreferenceKeyAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getCheckBoxPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"key",
                            		lv_key_3_0, 
                            		"PreferenceKeyAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2772:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt54=2;
            int LA54_0 = input.LA(1);

            if ( (LA54_0==35) ) {
                alt54=1;
            }
            switch (alt54) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2773:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2773:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2774:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleCheckBoxPreference5670);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getCheckBoxPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"summary",
                            		lv_summary_4_0, 
                            		"PreferenceSummaryAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2790:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt55=2;
            int LA55_0 = input.LA(1);

            if ( (LA55_0==36) ) {
                alt55=1;
            }
            switch (alt55) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2791:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2791:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2792:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleCheckBoxPreference5692);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getCheckBoxPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"enabled",
                            		lv_enabled_5_0, 
                            		"PreferenceEnabledAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2808:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt56=2;
            int LA56_0 = input.LA(1);

            if ( (LA56_0==37) ) {
                alt56=1;
            }
            switch (alt56) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2809:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2809:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2810:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleCheckBoxPreference5714);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getCheckBoxPreferenceRule());
                    	        }
                           		set(
                           			current, 
                           			"persistent",
                            		lv_persistent_6_0, 
                            		"PreferencePersistentAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleCheckBoxPreference5727); 

                	newLeafNode(otherlv_7, grammarAccess.getCheckBoxPreferenceAccess().getRightCurlyBracketKeyword_7());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleCheckBoxPreference"


    // $ANTLR start "entryRuleRingtonePrefence"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2838:1: entryRuleRingtonePrefence returns [EObject current=null] : iv_ruleRingtonePrefence= ruleRingtonePrefence EOF ;
    public final EObject entryRuleRingtonePrefence() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRingtonePrefence = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2839:2: (iv_ruleRingtonePrefence= ruleRingtonePrefence EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2840:2: iv_ruleRingtonePrefence= ruleRingtonePrefence EOF
            {
             newCompositeNode(grammarAccess.getRingtonePrefenceRule()); 
            pushFollow(FOLLOW_ruleRingtonePrefence_in_entryRuleRingtonePrefence5763);
            iv_ruleRingtonePrefence=ruleRingtonePrefence();

            state._fsp--;

             current =iv_ruleRingtonePrefence; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRingtonePrefence5773); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRingtonePrefence"


    // $ANTLR start "ruleRingtonePrefence"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2847:1: ruleRingtonePrefence returns [EObject current=null] : (otherlv_0= 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) ;
    public final EObject ruleRingtonePrefence() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_title_1_0=null;
        Token otherlv_2=null;
        Token otherlv_7=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2850:28: ( (otherlv_0= 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2851:1: (otherlv_0= 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2851:1: (otherlv_0= 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2851:3: otherlv_0= 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) otherlv_2= '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,47,FOLLOW_47_in_ruleRingtonePrefence5810); 

                	newLeafNode(otherlv_0, grammarAccess.getRingtonePrefenceAccess().getRingtonepreferenceKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2855:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2856:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2856:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2857:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRingtonePrefence5827); 

            			newLeafNode(lv_title_1_0, grammarAccess.getRingtonePrefenceAccess().getTitleSTRINGTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRingtonePrefenceRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_1_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleRingtonePrefence5844); 

                	newLeafNode(otherlv_2, grammarAccess.getRingtonePrefenceAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2877:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt57=2;
            int LA57_0 = input.LA(1);

            if ( (LA57_0==34) ) {
                alt57=1;
            }
            switch (alt57) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2878:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2878:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2879:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getRingtonePrefenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleRingtonePrefence5865);
                    lv_key_3_0=rulePreferenceKeyAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getRingtonePrefenceRule());
                    	        }
                           		set(
                           			current, 
                           			"key",
                            		lv_key_3_0, 
                            		"PreferenceKeyAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2895:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt58=2;
            int LA58_0 = input.LA(1);

            if ( (LA58_0==35) ) {
                alt58=1;
            }
            switch (alt58) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2896:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2896:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2897:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getRingtonePrefenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleRingtonePrefence5887);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getRingtonePrefenceRule());
                    	        }
                           		set(
                           			current, 
                           			"summary",
                            		lv_summary_4_0, 
                            		"PreferenceSummaryAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2913:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt59=2;
            int LA59_0 = input.LA(1);

            if ( (LA59_0==36) ) {
                alt59=1;
            }
            switch (alt59) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2914:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2914:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2915:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getRingtonePrefenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleRingtonePrefence5909);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getRingtonePrefenceRule());
                    	        }
                           		set(
                           			current, 
                           			"enabled",
                            		lv_enabled_5_0, 
                            		"PreferenceEnabledAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2931:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt60=2;
            int LA60_0 = input.LA(1);

            if ( (LA60_0==37) ) {
                alt60=1;
            }
            switch (alt60) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2932:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2932:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2933:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        newCompositeNode(grammarAccess.getRingtonePrefenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0()); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleRingtonePrefence5931);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();

                    state._fsp--;


                    	        if (current==null) {
                    	            current = createModelElementForParent(grammarAccess.getRingtonePrefenceRule());
                    	        }
                           		set(
                           			current, 
                           			"persistent",
                            		lv_persistent_6_0, 
                            		"PreferencePersistentAttribute");
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }
                    break;

            }

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleRingtonePrefence5944); 

                	newLeafNode(otherlv_7, grammarAccess.getRingtonePrefenceAccess().getRightCurlyBracketKeyword_7());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRingtonePrefence"


    // $ANTLR start "entryRuleStringEntry"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2961:1: entryRuleStringEntry returns [EObject current=null] : iv_ruleStringEntry= ruleStringEntry EOF ;
    public final EObject entryRuleStringEntry() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleStringEntry = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2962:2: (iv_ruleStringEntry= ruleStringEntry EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2963:2: iv_ruleStringEntry= ruleStringEntry EOF
            {
             newCompositeNode(grammarAccess.getStringEntryRule()); 
            pushFollow(FOLLOW_ruleStringEntry_in_entryRuleStringEntry5980);
            iv_ruleStringEntry=ruleStringEntry();

            state._fsp--;

             current =iv_ruleStringEntry; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleStringEntry5990); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleStringEntry"


    // $ANTLR start "ruleStringEntry"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2970:1: ruleStringEntry returns [EObject current=null] : (otherlv_0= 'stringarray' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_entry_3_0= ruleEntry ) )+ otherlv_4= '}' ) ;
    public final EObject ruleStringEntry() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_2=null;
        Token otherlv_4=null;
        EObject lv_entry_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2973:28: ( (otherlv_0= 'stringarray' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_entry_3_0= ruleEntry ) )+ otherlv_4= '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2974:1: (otherlv_0= 'stringarray' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_entry_3_0= ruleEntry ) )+ otherlv_4= '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2974:1: (otherlv_0= 'stringarray' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_entry_3_0= ruleEntry ) )+ otherlv_4= '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2974:3: otherlv_0= 'stringarray' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_entry_3_0= ruleEntry ) )+ otherlv_4= '}'
            {
            otherlv_0=(Token)match(input,48,FOLLOW_48_in_ruleStringEntry6027); 

                	newLeafNode(otherlv_0, grammarAccess.getStringEntryAccess().getStringarrayKeyword_0());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2978:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2979:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2979:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:2980:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStringEntry6044); 

            			newLeafNode(lv_name_1_0, grammarAccess.getStringEntryAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getStringEntryRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleStringEntry6061); 

                	newLeafNode(otherlv_2, grammarAccess.getStringEntryAccess().getLeftCurlyBracketKeyword_2());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3000:1: ( (lv_entry_3_0= ruleEntry ) )+
            int cnt61=0;
            loop61:
            do {
                int alt61=2;
                int LA61_0 = input.LA(1);

                if ( ((LA61_0>=49 && LA61_0<=50)) ) {
                    alt61=1;
                }


                switch (alt61) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3001:1: (lv_entry_3_0= ruleEntry )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3001:1: (lv_entry_3_0= ruleEntry )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3002:3: lv_entry_3_0= ruleEntry
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getStringEntryAccess().getEntryEntryParserRuleCall_3_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleEntry_in_ruleStringEntry6082);
            	    lv_entry_3_0=ruleEntry();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getStringEntryRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"entry",
            	            		lv_entry_3_0, 
            	            		"Entry");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt61 >= 1 ) break loop61;
                        EarlyExitException eee =
                            new EarlyExitException(61, input);
                        throw eee;
                }
                cnt61++;
            } while (true);

            otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleStringEntry6095); 

                	newLeafNode(otherlv_4, grammarAccess.getStringEntryAccess().getRightCurlyBracketKeyword_4());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleStringEntry"


    // $ANTLR start "entryRuleEntry"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3030:1: entryRuleEntry returns [EObject current=null] : iv_ruleEntry= ruleEntry EOF ;
    public final EObject entryRuleEntry() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEntry = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3031:2: (iv_ruleEntry= ruleEntry EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3032:2: iv_ruleEntry= ruleEntry EOF
            {
             newCompositeNode(grammarAccess.getEntryRule()); 
            pushFollow(FOLLOW_ruleEntry_in_entryRuleEntry6131);
            iv_ruleEntry=ruleEntry();

            state._fsp--;

             current =iv_ruleEntry; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntry6141); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleEntry"


    // $ANTLR start "ruleEntry"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3039:1: ruleEntry returns [EObject current=null] : ( (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )? otherlv_2= 'value' ( (lv_value_3_0= RULE_STRING ) ) ) ;
    public final EObject ruleEntry() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_2=null;
        Token lv_value_3_0=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3042:28: ( ( (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )? otherlv_2= 'value' ( (lv_value_3_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3043:1: ( (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )? otherlv_2= 'value' ( (lv_value_3_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3043:1: ( (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )? otherlv_2= 'value' ( (lv_value_3_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3043:2: (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )? otherlv_2= 'value' ( (lv_value_3_0= RULE_STRING ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3043:2: (otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) ) )?
            int alt62=2;
            int LA62_0 = input.LA(1);

            if ( (LA62_0==49) ) {
                alt62=1;
            }
            switch (alt62) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3043:4: otherlv_0= 'name' ( (lv_name_1_0= RULE_STRING ) )
                    {
                    otherlv_0=(Token)match(input,49,FOLLOW_49_in_ruleEntry6179); 

                        	newLeafNode(otherlv_0, grammarAccess.getEntryAccess().getNameKeyword_0_0());
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3047:1: ( (lv_name_1_0= RULE_STRING ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3048:1: (lv_name_1_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3048:1: (lv_name_1_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3049:3: lv_name_1_0= RULE_STRING
                    {
                    lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntry6196); 

                    			newLeafNode(lv_name_1_0, grammarAccess.getEntryAccess().getNameSTRINGTerminalRuleCall_0_1_0()); 
                    		

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getEntryRule());
                    	        }
                           		setWithLastConsumed(
                           			current, 
                           			"name",
                            		lv_name_1_0, 
                            		"STRING");
                    	    

                    }


                    }


                    }
                    break;

            }

            otherlv_2=(Token)match(input,50,FOLLOW_50_in_ruleEntry6215); 

                	newLeafNode(otherlv_2, grammarAccess.getEntryAccess().getValueKeyword_1());
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3069:1: ( (lv_value_3_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3070:1: (lv_value_3_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3070:1: (lv_value_3_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3071:3: lv_value_3_0= RULE_STRING
            {
            lv_value_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntry6232); 

            			newLeafNode(lv_value_3_0, grammarAccess.getEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getEntryRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"value",
                    		lv_value_3_0, 
                    		"STRING");
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleEntry"


    // $ANTLR start "entryRuleBooleanLiteral"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3095:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
    public final EObject entryRuleBooleanLiteral() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleBooleanLiteral = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3096:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3097:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
            {
             newCompositeNode(grammarAccess.getBooleanLiteralRule()); 
            pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6273);
            iv_ruleBooleanLiteral=ruleBooleanLiteral();

            state._fsp--;

             current =iv_ruleBooleanLiteral; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral6283); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleBooleanLiteral"


    // $ANTLR start "ruleBooleanLiteral"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3104:1: ruleBooleanLiteral returns [EObject current=null] : ( () ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' ) ) ;
    public final EObject ruleBooleanLiteral() throws RecognitionException {
        EObject current = null;

        Token lv_isTrue_1_0=null;
        Token otherlv_2=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3107:28: ( ( () ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3108:1: ( () ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3108:1: ( () ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3108:2: () ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3108:2: ()
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3109:5: 
            {

                    current = forceCreateModelElement(
                        grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),
                        current);
                

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3114:2: ( ( (lv_isTrue_1_0= 'true' ) ) | otherlv_2= 'false' )
            int alt63=2;
            int LA63_0 = input.LA(1);

            if ( (LA63_0==51) ) {
                alt63=1;
            }
            else if ( (LA63_0==52) ) {
                alt63=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 63, 0, input);

                throw nvae;
            }
            switch (alt63) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3114:3: ( (lv_isTrue_1_0= 'true' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3114:3: ( (lv_isTrue_1_0= 'true' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3115:1: (lv_isTrue_1_0= 'true' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3115:1: (lv_isTrue_1_0= 'true' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3116:3: lv_isTrue_1_0= 'true'
                    {
                    lv_isTrue_1_0=(Token)match(input,51,FOLLOW_51_in_ruleBooleanLiteral6336); 

                            newLeafNode(lv_isTrue_1_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_0_0());
                        

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getBooleanLiteralRule());
                    	        }
                           		setWithLastConsumed(current, "isTrue", true, "true");
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3130:7: otherlv_2= 'false'
                    {
                    otherlv_2=(Token)match(input,52,FOLLOW_52_in_ruleBooleanLiteral6367); 

                        	newLeafNode(otherlv_2, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_1());
                        

                    }
                    break;

            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleBooleanLiteral"


    // $ANTLR start "ruleLayoutStyle"
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3142:1: ruleLayoutStyle returns [Enumerator current=null] : ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) ) ;
    public final Enumerator ruleLayoutStyle() throws RecognitionException {
        Enumerator current = null;

        Token enumLiteral_0=null;
        Token enumLiteral_1=null;
        Token enumLiteral_2=null;
        Token enumLiteral_3=null;

         enterRule(); 
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3144:28: ( ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3145:1: ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3145:1: ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) )
            int alt64=4;
            switch ( input.LA(1) ) {
            case 53:
                {
                alt64=1;
                }
                break;
            case 54:
                {
                alt64=2;
                }
                break;
            case 55:
                {
                alt64=3;
                }
                break;
            case 56:
                {
                alt64=4;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 64, 0, input);

                throw nvae;
            }

            switch (alt64) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3145:2: (enumLiteral_0= 'fill' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3145:2: (enumLiteral_0= 'fill' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3145:4: enumLiteral_0= 'fill'
                    {
                    enumLiteral_0=(Token)match(input,53,FOLLOW_53_in_ruleLayoutStyle6418); 

                            current = grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_0, grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0()); 
                        

                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3151:6: (enumLiteral_1= 'wrap' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3151:6: (enumLiteral_1= 'wrap' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3151:8: enumLiteral_1= 'wrap'
                    {
                    enumLiteral_1=(Token)match(input,54,FOLLOW_54_in_ruleLayoutStyle6435); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_1, grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1()); 
                        

                    }


                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3157:6: (enumLiteral_2= 'fill&wrap' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3157:6: (enumLiteral_2= 'fill&wrap' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3157:8: enumLiteral_2= 'fill&wrap'
                    {
                    enumLiteral_2=(Token)match(input,55,FOLLOW_55_in_ruleLayoutStyle6452); 

                            current = grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_2, grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2()); 
                        

                    }


                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3163:6: (enumLiteral_3= 'wrap&fill' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3163:6: (enumLiteral_3= 'wrap&fill' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGui.g:3163:8: enumLiteral_3= 'wrap&fill'
                    {
                    enumLiteral_3=(Token)match(input,56,FOLLOW_56_in_ruleLayoutStyle6469); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_3, grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3()); 
                        

                    }


                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLayoutStyle"

    // Delegated rules


 

    public static final BitSet FOLLOW_ruleAndroGuiRoot_in_entryRuleAndroGuiRoot75 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAndroGuiRoot85 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_11_in_ruleAndroGuiRoot122 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleAndroGuiRoot139 = new BitSet(new long[]{0x00000400000C9000L});
    public static final BitSet FOLLOW_ruleRootLayout_in_ruleAndroGuiRoot165 = new BitSet(new long[]{0x0001000000000002L});
    public static final BitSet FOLLOW_ruleStringEntry_in_ruleAndroGuiRoot186 = new BitSet(new long[]{0x0001000000000002L});
    public static final BitSet FOLLOW_ruleRootLayout_in_entryRuleRootLayout223 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRootLayout233 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_ruleRootLayout279 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleUIElement_in_entryRuleUIElement313 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleUIElement323 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_ruleUIElement370 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_ruleUIElement397 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_entryRuleLayout432 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLayout442 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_ruleLayout489 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_ruleLayout516 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_ruleLayout543 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_ruleLayout570 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_ruleLayout597 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout632 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteLayout642 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_12_in_ruleAbsoluteLayout679 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleAbsoluteLayout696 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout723 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleAbsoluteLayout735 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleAbsoluteLayout756 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleAbsoluteLayout769 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout805 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLinearLayout815 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_15_in_ruleLinearLayout852 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleLinearLayout869 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_16_in_ruleLinearLayout894 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_17_in_ruleLinearLayout925 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleLinearLayout948 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleLinearLayout960 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleLinearLayout981 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleLinearLayout994 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1030 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleFrameLayout1040 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_18_in_ruleFrameLayout1077 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleFrameLayout1094 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1121 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleFrameLayout1133 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleFrameLayout1154 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleFrameLayout1167 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1203 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRelativeLayout1213 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_19_in_ruleRelativeLayout1250 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRelativeLayout1267 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1294 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRelativeLayout1306 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleRelativeLayout1327 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleRelativeLayout1340 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_entryRuleWidget1376 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleWidget1386 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_ruleWidget1433 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_ruleWidget1460 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_ruleWidget1487 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_ruleWidget1514 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_ruleWidget1541 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_ruleWidget1568 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_ruleWidget1595 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_ruleWidget1622 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_ruleWidget1649 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_entryRuleTextView1684 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleTextView1694 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_20_in_ruleTextView1731 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleTextView1748 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleTextView1771 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleTextView1797 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_entryRuleEditText1833 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEditText1843 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_21_in_ruleEditText1880 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleEditText1897 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEditText1920 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleEditText1946 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_entryRuleButton1982 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleButton1992 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_22_in_ruleButton2029 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleButton2046 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleButton2069 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleButton2095 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_entryRuleListView2131 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleListView2141 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_23_in_ruleListView2178 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2195 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleListView2221 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleListView2233 = new BitSet(new long[]{0x0000000003004000L});
    public static final BitSet FOLLOW_24_in_ruleListView2246 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2266 = new BitSet(new long[]{0x0000000002004000L});
    public static final BitSet FOLLOW_25_in_ruleListView2281 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2301 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleListView2315 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_entryRuleSpinner2351 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleSpinner2361 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_26_in_ruleSpinner2398 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleSpinner2415 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleSpinner2441 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleSpinner2462 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_entryRuleCheckBox2498 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleCheckBox2508 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_27_in_ruleCheckBox2545 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleCheckBox2562 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleCheckBox2585 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleCheckBox2611 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2647 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioGroup2657 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_28_in_ruleRadioGroup2694 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioGroup2711 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_16_in_ruleRadioGroup2736 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_17_in_ruleRadioGroup2767 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2790 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRadioGroup2802 = new BitSet(new long[]{0x0000000200000000L});
    public static final BitSet FOLLOW_ruleRadioButton_in_ruleRadioGroup2823 = new BitSet(new long[]{0x0000000200004000L});
    public static final BitSet FOLLOW_14_in_ruleRadioGroup2836 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_entryRuleRatingBar2872 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRatingBar2882 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_29_in_ruleRatingBar2919 = new BitSet(new long[]{0x0000000000000050L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRatingBar2936 = new BitSet(new long[]{0x0000000000000040L});
    public static final BitSet FOLLOW_RULE_INT_in_ruleRatingBar2959 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRatingBar2985 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_entryRuleToggleButton3021 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleToggleButton3031 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_30_in_ruleToggleButton3068 = new BitSet(new long[]{0x0000000080000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleToggleButton3085 = new BitSet(new long[]{0x0000000080000000L});
    public static final BitSet FOLLOW_31_in_ruleToggleButton3103 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3120 = new BitSet(new long[]{0x0000000100000000L});
    public static final BitSet FOLLOW_32_in_ruleToggleButton3137 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3154 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleToggleButton3180 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioButton_in_entryRuleRadioButton3216 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioButton3226 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_33_in_ruleRadioButton3263 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioButton3280 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRadioButton3303 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioButton3329 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_entryRulePreferenceKeyAttribute3365 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceKeyAttribute3375 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_34_in_rulePreferenceKeyAttribute3412 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceKeyAttribute3429 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_entryRulePreferenceSummaryAttribute3470 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceSummaryAttribute3480 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_35_in_rulePreferenceSummaryAttribute3517 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceSummaryAttribute3534 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_entryRulePreferenceEnabledAttribute3575 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEnabledAttribute3585 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_36_in_rulePreferenceEnabledAttribute3622 = new BitSet(new long[]{0x0018000000000000L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_rulePreferenceEnabledAttribute3643 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_entryRulePreferencePersistentAttribute3679 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferencePersistentAttribute3689 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_37_in_rulePreferencePersistentAttribute3726 = new BitSet(new long[]{0x0018000000000000L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_rulePreferencePersistentAttribute3747 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_entryRulePreferenceDialogTitleAttribute3783 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceDialogTitleAttribute3793 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_38_in_rulePreferenceDialogTitleAttribute3830 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceDialogTitleAttribute3847 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_entryRulePreferenceDefaultValueAttribute3888 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceDefaultValueAttribute3898 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_39_in_rulePreferenceDefaultValueAttribute3935 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceDefaultValueAttribute3952 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEntriesAttribute_in_entryRulePreferenceEntriesAttribute3993 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEntriesAttribute4003 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_24_in_rulePreferenceEntriesAttribute4040 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceEntriesAttribute4060 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEntryValuesAttribute_in_entryRulePreferenceEntryValuesAttribute4096 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEntryValuesAttribute4106 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_40_in_rulePreferenceEntryValuesAttribute4143 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceEntryValuesAttribute4163 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreference_in_entryRulePreference4199 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreference4209 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_41_in_rulePreference4247 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreference4264 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreference4281 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_rulePreference4302 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_rulePreference4324 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_rulePreference4346 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_rulePreference4368 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_rulePreference4381 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditTextPreference_in_rulePreference4410 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListPreference_in_rulePreference4437 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBoxPreference_in_rulePreference4464 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRingtonePrefence_in_rulePreference4491 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceCategory_in_rulePreference4518 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_rulePreference4545 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen4580 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceScreen4590 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_42_in_rulePreferenceScreen4636 = new BitSet(new long[]{0x0000000000002020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceScreen4653 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreferenceScreen4671 = new BitSet(new long[]{0x0000FE3C000CD000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_rulePreferenceScreen4692 = new BitSet(new long[]{0x0000FE38000CD000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_rulePreferenceScreen4714 = new BitSet(new long[]{0x0000FE30000CD000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_rulePreferenceScreen4736 = new BitSet(new long[]{0x0000FE20000CD000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_rulePreferenceScreen4758 = new BitSet(new long[]{0x0000FE00000CD000L});
    public static final BitSet FOLLOW_rulePreference_in_rulePreferenceScreen4780 = new BitSet(new long[]{0x0000FE00000CD000L});
    public static final BitSet FOLLOW_14_in_rulePreferenceScreen4793 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceCategory_in_entryRulePreferenceCategory4829 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceCategory4839 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_43_in_rulePreferenceCategory4876 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceCategory4893 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreferenceCategory4910 = new BitSet(new long[]{0x0000FE00000CD000L});
    public static final BitSet FOLLOW_rulePreference_in_rulePreferenceCategory4931 = new BitSet(new long[]{0x0000FE00000CD000L});
    public static final BitSet FOLLOW_14_in_rulePreferenceCategory4944 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditTextPreference_in_entryRuleEditTextPreference4980 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEditTextPreference4990 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_44_in_ruleEditTextPreference5027 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEditTextPreference5044 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleEditTextPreference5061 = new BitSet(new long[]{0x000000FC00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleEditTextPreference5082 = new BitSet(new long[]{0x000000F800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleEditTextPreference5104 = new BitSet(new long[]{0x000000F000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleEditTextPreference5126 = new BitSet(new long[]{0x000000E000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleEditTextPreference5148 = new BitSet(new long[]{0x000000C000004000L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleEditTextPreference5170 = new BitSet(new long[]{0x0000008000004000L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleEditTextPreference5192 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleEditTextPreference5205 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListPreference_in_entryRuleListPreference5241 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleListPreference5251 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_45_in_ruleListPreference5288 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleListPreference5305 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleListPreference5322 = new BitSet(new long[]{0x000001FC01004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleListPreference5343 = new BitSet(new long[]{0x000001F801004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleListPreference5365 = new BitSet(new long[]{0x000001F001004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleListPreference5387 = new BitSet(new long[]{0x000001E001004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleListPreference5409 = new BitSet(new long[]{0x000001C001004000L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleListPreference5431 = new BitSet(new long[]{0x0000018001004000L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleListPreference5453 = new BitSet(new long[]{0x0000010001004000L});
    public static final BitSet FOLLOW_rulePreferenceEntriesAttribute_in_ruleListPreference5475 = new BitSet(new long[]{0x0000010000004000L});
    public static final BitSet FOLLOW_rulePreferenceEntryValuesAttribute_in_ruleListPreference5497 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleListPreference5510 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBoxPreference_in_entryRuleCheckBoxPreference5546 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleCheckBoxPreference5556 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_46_in_ruleCheckBoxPreference5593 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleCheckBoxPreference5610 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleCheckBoxPreference5627 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleCheckBoxPreference5648 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleCheckBoxPreference5670 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleCheckBoxPreference5692 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleCheckBoxPreference5714 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleCheckBoxPreference5727 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRingtonePrefence_in_entryRuleRingtonePrefence5763 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRingtonePrefence5773 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_47_in_ruleRingtonePrefence5810 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRingtonePrefence5827 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRingtonePrefence5844 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleRingtonePrefence5865 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleRingtonePrefence5887 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleRingtonePrefence5909 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleRingtonePrefence5931 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleRingtonePrefence5944 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleStringEntry_in_entryRuleStringEntry5980 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleStringEntry5990 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_48_in_ruleStringEntry6027 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleStringEntry6044 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleStringEntry6061 = new BitSet(new long[]{0x0006000000000000L});
    public static final BitSet FOLLOW_ruleEntry_in_ruleStringEntry6082 = new BitSet(new long[]{0x0006000000004000L});
    public static final BitSet FOLLOW_14_in_ruleStringEntry6095 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEntry_in_entryRuleEntry6131 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEntry6141 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_49_in_ruleEntry6179 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEntry6196 = new BitSet(new long[]{0x0004000000000000L});
    public static final BitSet FOLLOW_50_in_ruleEntry6215 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEntry6232 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6273 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral6283 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_51_in_ruleBooleanLiteral6336 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_52_in_ruleBooleanLiteral6367 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_53_in_ruleLayoutStyle6418 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_54_in_ruleLayoutStyle6435 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_55_in_ruleLayoutStyle6452 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_56_in_ruleLayoutStyle6469 = new BitSet(new long[]{0x0000000000000002L});

}